User Tools

Site Tools


syntax:functions:fromunixtime

FromUnixTime(unix_time)

Category: Date and Time function


Description

This function converts a Unix timestamp (the number of seconds since Jan 1st, 1970) to the numeric date-time serial value used in EasyMorph (and Excel).


Arguments

ArgumentTypeDescription
unix_timeNumber A Unix timestamp value.

Return value type: Number (date-time serial value).


Examples

fromunixtime( 1095379200 )  //Returns 38247  (Corresponds to 2004-Sept-17.)
fromunixtime( 1630126722 )  //Returns 44436.2074305556  (Corresponds to 2021-Aug-28 04:58:42.)


See also

syntax/functions/fromunixtime.txt · Last modified: 2021/08/30 01:08 by craigt