DateTimeToDosDateTime function
Convert
TDateTime format to DOS date/time format.
Declaration
function DateTimeToDosDateTime(const AValue: TDateTime): LongIntDescription
DateTimeToDosDatetime takes
Value, a
TDateTime formatted
timestamp, and recodes it to a MS-DOS encoded date/time value. This is a
longint with the date/time encoded in the bits as:
- 0-4
- Seconds divided by 2
- 5-10
- Minutes
- 11-15
- Hours
- 16-20
- Day
- 21-24
- Month
- 25-31
- Years since 1980
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
