User Tools

Site Tools


syntax:functions:fromunixtime
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
syntax:functions:fromunixtime [2021/08/30 01:08] craigt
Line 1: Line 1:
 +====== 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=====
 +^Argument^Type^Description^
 +|unix_time|Number |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:tounixtime|ToUnixTime(date)]]
  
syntax/functions/fromunixtime.txt · Last modified: 2024/02/15 15:47 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki