Date and Time Conversion Functions

The following functions convert between dates and times stored in MS-DOS format and the Variant representation.

In this section

Topic Description
DosDateTimeToVariantTime
Converts the MS-DOS representation of time to the date and time representation stored in a variant.
GetAltMonthNames
Retrieves the secondary (alternate) month names.
SystemTimeToVariantTime
Converts a system time to a variant representation.
VarDateFromUdate
Converts a time and date converted from MS-DOS format to variant format.
VarDateFromUdateEx
Converts a time and date converted from MS-DOS format to variant format.
VariantTimeToDosDateTime
Converts the variant representation of a date and time to MS-DOS date and time values.
VariantTimeToSystemTime
Converts the variant representation of time to system time values.
VarUdateFromDate
Converts a time and date converted from variant format to MS-DOS format.

Note

If these functions are passed NULL pointers, there will be an access violation and the program will crash. It is your responsibility to protect these functions against NULL pointers.

Conversion and Manipulation Functions