MS-DOS date/time

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Category:MS-DOS)
(TSComp archives also use that time stamps)
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
|released=1981
 
|released=1981
 
}}
 
}}
'''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''' 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 of packed '''bit-fields''', not simple day or second counts since an origin (see spec below for exact bit field descriptions).
  
 
'''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).
Line 17: Line 19:
 
* [[FAT12]]
 
* [[FAT12]]
 
* [[ZIP]]
 
* [[ZIP]]
 +
* [[LHA]]
 +
* [[Cabinet]]
 
* [[CopyQM]]
 
* [[CopyQM]]
 +
* [[Zoo]]
 +
* [[TSComp]]
  
 +
[[Category:Date and time formats]]
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]
 
[[Category:MS-DOS]]
 
[[Category:MS-DOS]]

Latest revision as of 23:38, 29 November 2023

File Format
Name MS-DOS date/time
Ontology
Released 1981

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 of packed bit-fields, not simple day or second counts since an origin (see spec below for exact bit field descriptions).

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.

[edit] Specifications

[edit] Related formats

Examples of file formats that use MS-DOS date/time:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox