Category: Date and Time function
This function converts an EasyMorph (and Excel) date-time serial value to a Unix timestamp (the number of seconds since Jan 1st, 1970).
Argument | Type | Description |
---|---|---|
date | Date or Number (date serial) | An expression that results in a date-time serial value. |
Return value type: Number.
The date argument can take any value or expression that evaluates to a date serial value. Examples include:
tounixtime( 38247 ) //Returns 1095379200 (Corresponds to 2004-Sept-17.)
tounixtime( 44436.2074305556 ) //Returns 1630126722 (Corresponds to 2021-Aug-28 04:58:42.)