@UTCDATETIME
— converts
a local date and time to UTC. The date may be in any input
date format supported by this plugin, and must be a valid date
within the supported range.
Syntax:
%@UTCDATETIME[
date,
time,
fmt,
tfmt]
date | the local date to convert; defaults to today’s date |
time | the local time to convert; defaults to the current time |
fmt | the date format used to return the resulting date, and also to interpret ambiguous input dates; defaults to 256 |
tfmt | the format in which to return the time; defaults to 384 (24-hour, with seconds and milliseconds) |
The time may be entered in either 12-hour or 24-hour format. tfmt may be 0 to return the time in 24-hour format, or 1 - 12 for a variety of different 12-hour formats. Add 128 to include seconds in the output time; add 256 to include milliseconds.
See also: @LOCALDATETIME
,
which performs the reverse operation.
• New: This function does not exist in Take Command.