Time field: Difference between revisions

138 bytes added ,  27 September 2018
m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Stamp|2016-08-30|3.9.7|1.0.3}}
{{Stamp|2018-09-27|4.5.5|1.1.0}}
A Time field may contain a value that is used to represent a particular time of day -- specifically, the value stored is the same as that used by Unix and Linux systems to represent dates, which is the number of seconds since 00:00:00 of the current day.
A Time field may contain any time of day.
 
In Calculation fields, the value used is that used by Unix and Linux systems to represent times, which is the number of seconds since 00:00:00 of the current day. In JavaScript fields, the value used is based on that used by Unix and Linux systems to represent times, but is instead, the number on milliseconds since 00:00:00.000 of the current day.


This value allows time arithmetic to work readily, by merely doing integer arithmetic with the value.
This value allows time arithmetic to work readily, by merely doing integer arithmetic with the value.


When a time value is interpreted for import, expert, or display in hours, minutes, and seconds, the current locale is used. The format for import and export can be specified in program settings.
When a time value is interpreted for import, export, or display in hours, minutes, and seconds, the current locale is used. The format for import and export can be specified in program settings.


{{FieldNameHint}}
{{FieldNameHint}}