Convert-Unix-Timestamp-to-Time
Command Description
Convert a Unix timestamp to time data (the time elapsed since January 1, 1 900)
Command Prototype
dRet = Time.FromUnixTime(dTime, bMS)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
dTime | True | expression | dTime | The Unix timestamp to be converted |
bMS | True | boolean | None | Whether a Unix timestamp is millisecond precision, the default is false |
return
dRet,The variable used to save the output of the command.
Demo
Dim dRet
dRet = Time.FromUnixTime(44601.623032407, false)
TracePrint (dRet)
/**
dRet = 25569.333333334
*/