Time in milliseconds: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
==Notes== | ==Notes== | ||
* Items in the {{software}} can store time as an attribute, in which case this number is stored as a double. | * Items in the {{software}} can store time as an attribute, in which case this number is stored as a double. | ||
: When interpreted by the {{software}}, this double | : When interpreted by the {{software}}, this double is converted to a long integer before being interpreted as a time offset in milliseconds. | ||
: Keep this in mind when manually adjusting attributes representing time in milliseconds, or when interpreting time data using the API | : Keep this in mind when manually adjusting attributes representing time in milliseconds, or when interpreting time data using the API | ||
{{article end | {{article end | ||
|seealso= | |seealso= | ||
* [[Dates (Heat Stress Overlay)]] | * [[Dates (Heat Stress Overlay)]] | ||
* [[Timeframetimes (Water Overlay)]] | |||
* [[Start date ms (Water Overlay)]] | |||
|api=*[[Api session event editor overlay set attribute]] | |||
}} | }} | ||
[[Category:unit]] | [[Category:unit]] | ||
Revision as of 09:34, 10 July 2026
Time can be stored as a number of milliseconds past a chosen starting point, also known as the epoch.
In the Tygron Platform, a time in milliseconds of 0, corresponds to 00:00:00:000 January 1st, 1970 in the UTC time zone.
Notes
- Items in the Tygron Platform can store time as an attribute, in which case this number is stored as a double.
- When interpreted by the Tygron Platform, this double is converted to a long integer before being interpreted as a time offset in milliseconds.
- Keep this in mind when manually adjusting attributes representing time in milliseconds, or when interpreting time data using the API