DateTime :: toUnixTime - Get unix timestamp
The function returns a Unix timestamp from the ODABA timestamp value.
Return value: Unix time stamp ( int64 )
The unix timestamp contains the number of seconds since 1.1.1970 0:00:00 (UTC), which is an absolute timestamp that might be converted into local time.
Implementation overview
- Get standard timestamp
DateTime :: toUnixTime ( bLocalTime ) - Get unix timestamp
DateTime :: toUnixTime (  )
Implementation details
-
Get standard timestamp
int64 DateTime  :: toUnixTime ( bool bLocalTime )
The function returns the Unix timestamp for the current ODABA date. When true has been passed in bLocalTime, the function considers the time value as local time and converts it to Greenwich standard time. When false has been passed in bLocalTime, the function returns the time without converting from local time.
- bLocalTime
- Local or standard time
The option indicates, that a time value or timestamp contains local time (true) or Greenwich standard time (false).
to list
- bLocalTime
- Local or standard time
- to list