Previous Topic: StringNext Topic: Constants


Date

A Date in the MIF file should have the following format:

yyyymmddHHMMSS.uuuuuu+ooo

where,

yyyy is the year, mm is the month number, dd is the day of the month, HHMMSS are the hours, minutes, and seconds, respectively, uuuuuu is the number of microseconds, and +ooo is the offset from UTC in minutes. If east of UTC, the number is preceded by a plus (+) sign; if west, by a minus (-) sign. While this is only 25 octets the date is stored as a 28-octet field for memory alignment reasons, and the last three octets are zero ("\0").

For example, Friday 6 February 2004 at 1:30:15 PM EDT would be represented as: 20040206133015.000000-300

Values must be zero-padded, if necessary, like 06 in the example previously shown. If a value is not supplied for a field, each character in the field must be replaced with asterisk (*) characters.