TRON time
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Elements of File Formats }} '''TRON time''' is a representation of a date and time in the form of a number representing the num...") |
Latest revision as of 01:25, 10 December 2021
TRON time is a representation of a date and time in the form of a number representing the number of seconds since the "epoch" of January 1, 1985 at 00:00 (midnight) UTC. (So, it is similar to Unix time, but the epoch is fifteen years later.)
BTRON version 3.20.00 uses signed 32-bit timestamps and is subject to year 2053 problem. Furthermore, the functions for dealing with date time (set_tim
, get_tod
, etc) are not supporting negative timestamps; negative numbers and zero are treated as meaning use the current time.