MX_GETTIME Parameter UTCOFFSET

MX_GETTIME enhancement: the new and optional third parameter utcoffset can be passed to retrieve the offset, in seconds, between UTC and local time.

xcall MIAMEX, MX_GETTIME, secs {,usecs {,utcoffset}}

utcoffset  (signed num)  [out]

Returns offset in seconds between local time and UTC (Universal Coordinated Time, aka Greenwich Mean Time. Offset will be negative for timezones West of Greenwich. A value of -1 indicates an error.

Note that A-Shell versions prior to this release will ignore the utcoffset parameter, so unless you check the version, you should probably set your utcoffset value to -2 before calling the routine so that you can detect if it worked.