User Tools

Site Tools


syntax:functions:fromunixtime

Differences

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

Link to this comparison view

Next revision
Previous revision
syntax:functions:fromunixtime [2019/05/22 22:29] – created dmitrysyntax:functions:fromunixtime [2024/02/15 15:47] (current) – [Arguments] dmitry
Line 1: Line 1:
-===== FromUnixTime(unix_timestamp) =====+====== FromUnixTime(unix_time) =====
 +Category:  Date and Time function
  
-Converts a Unix timestamp (the number of seconds since 1970) to the number date format used in EasyMorph (and Excel). +\\  
 +=====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).
  
- Example   Result  Notes +\\  
-| fromunixtime (1095379200)  |  38247  |Corresponds to 2004-Sept-17 |+=====Arguments===== 
 +^Argument^Type^Description
 +|unix_time|Number |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:tounixtime|ToUnixTime(date)]]
  
syntax/functions/fromunixtime.1558578558.txt.gz · Last modified: 2019/05/22 22:29 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki