TimeUnix$

Takes one parameter, Source

Description:

Converts the Source DateTime to the Unix time.

The Source parameter must be a proper datetime value as supported by the [DateTime] attribute.

Note: Source times that do not specify a time zone are treated as local time and use the host operating system's time zone. As per RFC 3339, Z denotes the time zone of UTC.

Examples:

[New] LocToUnix   = TimeUnix$ "2022-03-01 13:30"
[New] UTCToUnix   = TimeUnix$ "2022-03-01 13:30Z"