Time :: toUnixTime - Get unix timestamp from ODABA time value
The function returns a Unix timestamp from the time value and the current date. The unix timestamp is the time in seconds passed since 1.1.1970. The value returned is either the local time distance or the the time distance to GMT time.
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 unix timestamp from ODABA time value
Time :: toUnixTime ( bLocalTime ) - Get unix timestamp from ODABA time value
Time :: toUnixTime (  )
Implementation details
-
Get unix timestamp from ODABA time value
int64 Time  :: toUnixTime ( bool bLocalTime )
When true has been passed in bLocalTime, the time value with the current date is considered as local time and will be converted to Greenwich standard time (UTC). Conversion may alter the time value returned.
When passing false in bLocalTime, no conversion takes place and it is up to the application interpreting the value as local or standard 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