Hello,
is it possible to get the time in UTC?
with "triggertime" I only get the local time but i need it in UTC
Thanks
use UTC time and not the local time
Moderator: Martin
Re: use UTC time and not the local time
Hi,
There is no format option to tell Automagic to show the time in a particular timezone. It uses the timezone set on the device.
As an ugly workaround you could add/subtract the timezone offset before the date is formatted.
Instead of:
{triggertime,dateformat,HH:mm}
You could write:
{addHours(triggertime,2),dateformat,HH:mm}
Regards,
Martin
There is no format option to tell Automagic to show the time in a particular timezone. It uses the timezone set on the device.
As an ugly workaround you could add/subtract the timezone offset before the date is formatted.
Instead of:
{triggertime,dateformat,HH:mm}
You could write:
{addHours(triggertime,2),dateformat,HH:mm}
Regards,
Martin