$time converter

Allows you to convert times/dates to a various DateTime patterns, time zone, and culture.


Example

Running this code will convert current date and time to UNIX format. As shown in the alert box, the UNIX format is "1646851130".

alert($plugin function("Time and Date Automation.dll", "$time converter", $date, "UBOT (MM/dd/yyyy HH:mm:ss)", "UNIX", "(UTC+07:00) Bangkok, Hanoi, Jakarta", "(UTC+07:00) Bangkok, Hanoi, Jakarta", "en-US", "en-US"))

Was this helpful?

Previous Article

$time compare

Next Article

$time converter 2