You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to send the datetime with local offset to an API (2019-10-15T10:45:50.124-05:00). I see that you can use {{$datetime iso8601}} to get the current datetime, however that is returns a UTC date (2019-10-15T15:45:50.124Z). Is this currently possible? If not, maybe add:
another dynamic variable like {{$datetimeLocal}}
another modifier to datetime to make it local like {{$datetime local iso8601}}
I tried to use formatting "timestamp": "{{$datetime 'YYYY-MM-DDTHH:mm:ss.SSSZZ'}}", but that still returns a UTC (2019-10-15T15:45:50.124+0000) since $datetime is actually UTC.
The text was updated successfully, but these errors were encountered:
I need to send the datetime with local offset to an API (
2019-10-15T10:45:50.124-05:00
). I see that you can use{{$datetime iso8601}}
to get the current datetime, however that is returns a UTC date (2019-10-15T15:45:50.124Z
). Is this currently possible? If not, maybe add:{{$datetimeLocal}}
{{$datetime local iso8601}}
I tried to use formatting
"timestamp": "{{$datetime 'YYYY-MM-DDTHH:mm:ss.SSSZZ'}}"
, but that still returns a UTC (2019-10-15T15:45:50.124+0000
) since$datetime
is actually UTC.The text was updated successfully, but these errors were encountered: