Timestamp includes different timezones

Hello All,
In response from backend data I have event with timezone, i have added one field in elastic templte :nextEvent.
The date format of above fields are important, it has timezone in it.. like below:
"nextEvent":"2022-12-14 23:03:00 +0000"
What should be exact date format mapped in template for this filed?,the zones can be different also.

Thanks

Timestamp type is "date" and you have to fill it with UTC time for it to be accurate. So the easiest way for our applications was to just always convert it to UTC before storing it.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.