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. Typically, Unix timestamps have 9-10 digits.

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: 2024/02/15 15:47 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki