|
|
|
|
|
EpochToDateTime (Function) In french: EpochVersDateHeure Converts a date and a time in Epoch format (number of time units since 01/01/1970 at 00h00 UTC) to a local datetime.
// Displays "20220101000000000" (in France) Info(EpochToDateTime("1640991600"))
Syntax
<Result> = EpochToDateTime(<Epoch datetime> [, <Conversion options>])
<Result>: Character string Local date and time resulting from the conversion. Can correspond to:- a DateTime variable.
- a character string in YYYYMMDDHHmmSSCCC format (YYYY corresponds to the year, MM to the month, DD to the day, HH to hours, mm to minutes, SS to seconds and CCC to milliseconds).
- an empty string ("") if an error occurs.
<Epoch datetime>: 8-byte integer Date and time in Epoch format (number of time units since 01/01/1970 at 00h00 UTC) to convert. <Conversion options>: Optional Integer constant Options for converting the date and time: | | epochUnixMillisecond | The datetime in Epoch format is expressed in milliseconds since 01/01/1970 at 00h00 UTC (time 0 in Unix). | epochUnixSecond (default value) | The datetime in Epoch format is expressed in seconds since 01/01/1970 at 00h00 UTC (time 0 in Unix). |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|