I am new to liquid maps and I need to add or subtract hours in liquid maps. The liquid map then I habe to use in Logic Apps.
Can anyone help me in finding the right solution?
I tried all these but nothing works.
Approch 1:
{ {% assign days = 3 | times: 86400 %} "DateCreated": "{{ 'Now' | Date: '%s' | plus: days | Date: '%Y, %m, %-d %Z' }}" }
Approch 2:
{ "DateCreated": {{'now' | date: "%s" | minus : 604800 | date: "%b %d, %Y %I:%M %p -0500" | uri_encode | replace:"+","%20"}} }