MS-DOS date/time
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Elements of File Formats |released=1981 }} '''MS-DOS date''' and '''MS-DOS time''' are data formats associated with MS-DOS. The...") |
|||
Line 8: | Line 8: | ||
'''MS-DOS date''' represents a day in the range 1980 to 2099 (or maybe 2107, but dates after 2099 aren't always correctly handled). | '''MS-DOS date''' represents a day in the range 1980 to 2099 (or maybe 2107, but dates after 2099 aren't always correctly handled). | ||
− | '''MS-DOS time''' represents a 2-second interval within some day. | + | '''MS-DOS time''' represents a 2-second interval within some day. The time is usually expected to be in "local time", and there is no indication of the time zone. This makes it fairly useless in the internet age. |
== Specifications == | == Specifications == |
Revision as of 19:20, 2 March 2016
MS-DOS date and MS-DOS time are data formats associated with MS-DOS. They are used in some file formats from the MS-DOS era. Each is a 16-bit integer.
MS-DOS date represents a day in the range 1980 to 2099 (or maybe 2107, but dates after 2099 aren't always correctly handled).
MS-DOS time represents a 2-second interval within some day. The time is usually expected to be in "local time", and there is no indication of the time zone. This makes it fairly useless in the internet age.
Specifications
- Windows Dev Center: DosDateTimeToFileTime function - Describes MS-DOS date and time formats
Related formats
Examples of file formats that use MS-DOS date/time: