22 Dec 2023 01:58 PM
I'm writing a DQL Block in workflows and I've noticed the times comes back in UTC time. Is there an easy way to localize DQL executions within workflows?
Thank you!
Solved! Go to Solution.
12 Apr 2024 08:00 AM - edited 12 Apr 2024 08:31 AM
Hi @calfano ,
Seems like thing that DT didn't take into account Timezones in automation.
This is good example for RFE, but for now You can do workaround by conversion to timestamp and adding required Timezone change and converting back to date.
fetch logs
| fields time = toTimestamp(now()) | limit 1
| fields time_local = timestampFromUnixSeconds(unixSecondsFromTimestamp(time) + 7200)
Bests
Michal