The information in this article applies to:
SUMMARY
Under UNIX platforms, file times are maintained in the form of a ANSI C run-
time arithmetic type named 'time_t', which represents seconds since
midnight January 1, 1970 UTC (coordinated universal time).
MORE INFORMATIONThe following function converts a filetime in the UNIX time_t format to a Win32 FILETIME format. Note that time_t is a 32-bit value and FILETIME is a 64-bit structure, so the Win32 function, Int32x32To64() is used in the following function:
Once the UNIX time is converted to a FILETIME structure, other Win32 time
formats can be easily obtained by using Win32 functions such as
FileTimeToSystemTime() and FileTimeToDosDateTime().
Additional query words: bse time tm filetime systemtime crt
Keywords : kbprg kbDateTime kbKernBase kbWinOS2000 kbDSupport kbGrpKernBase |
Last Reviewed: January 10, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |