Converts DOS-style date and time to calendar time.
#include <time.h>
time_t dos2calendar (
unsigned long dostime);
(IN) Specifies the DOS-style date and time to convert.
Returns the calendar time.
The DOS epoch is 1980. The calendar time is adjusted to use the calendar epoch of 1970.
The dos_tm structure can be used to create a DOS-style time. You can then use the dos_tm_u union to create the dostime argument to pass to the dos2calendar function.
DOS has the following date and time format:
Figure 10-2 DOS format for date and time