calendar2dos

Converts calendar time to DOS-style date and time.

Library:LibC
Classification:NovellĀ®
Service:Time

Syntax

  #include <time.h> 
   
  unsigned long calendar2dos (
     time_t   calendar);
  

Parameters

calendar

(IN) Specifies the calendar time to convert.

Return Values

Returns DOS-style date and time.

Remarks

Because calendar time is UTC, the time is converted to the local DOS time. DOS has the following date and time format.

Figure 10-1 DOS Format for Date and Time

See Also

dos2calendar