TIBCO FTL®
|
DateTime struct. Application programs can use this data structure to represent date and time values with large range and nanosecond precision. More...
Data Fields | |
tibint64_t | nsec |
tibint64_t | sec |
DateTime struct. Application programs can use this data structure to represent date and time values with large range and nanosecond precision.
tibDateTime
values combine two numeric components.
sec
component represents whole seconds with up to 64 bits. Zero denotes the UNIX epoch – midnight entering January 1, 1970. nsec
component represents nanoseconds after the time that the sec
component denotes. Although the struct stores this component in a signed 64-bit integer, this component is always non-negative, between zero and 999999999.For example, the value -1 seconds plus 999,999,998 nanoseconds represents December 31, 1969, 2 nanoseconds before midnight (that is, 2 nanoseconds before the epoch).
tibint64_t tibDateTime::nsec |
tibint64_t tibDateTime::sec |