PoojaBorade-1490 avatar image
0 Votes"
PoojaBorade-1490 asked ·

Date formatting in liquid template to use in logic apps

Hi All,

we are getting date from source in format yyyymmddhhmmss. We want to format the date in yyyy-MM-ddTHH:MM:SS.
But output i am getting is same what is input.
I have used following function:

"{ { item.G62_2.G6202 | Append: item.G62_2.G6204 | date: ''yyyy-MM-ddTHH:mm:ss'' }}"

Where as above format works perfectly with 'Now' function.

Please advise.


· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@PoojaBorade-1490 Just checking to make sure it isn't a type in your query, but the d should be D since Logic Apps uses DotLiquid with the C# naming convention as mentioned in the official doc.

0 Votes 0 ·

0 Answers