Username Password
Bookmark and Share

Convert to UTC Macro

^ConvertToUTC("Chicago/America","%F %R","2015-04-23","09:28:31");

^ConvertToUTC(timezone, format, date, time);
^ConvertToUTC(timezone, format, date);

This macro converts a date and optional time in UTC and converts it to another timezone.

The macro requires the date/time inputs in particular formats.  The date must be in YYYY-MM-DD format, and time must be in HH:MM:DD format, but is optional.

The format is that used by strptime.

It will accept the timezone from the standard list of timezones.

Keywords: macro time zone UTC

Search | Most Popular | Recent Changes | Wiki Home
© 2023 Plain Black Corporation | All Rights Reserved