Share via


Manipulating File Times (Windows CE 5.0)

Send Feedback

Windows CE provides the GetFileTime function, which returns the file creation time, the last time that the file was accessed, and the last time that the file was written to. Windows CE creates file times in coordinated universal time (UTC) format, which is known also as Greenwich mean time. Use the FileTimeToLocalFileTime and FileTimeToSystemTime functions to translate the UTC time into the proper time-zone format.

You can also set file times by using the SetFileTime function. Depending on the file system, before using SetFileTime, you might need to gain access to the file by using CreateFile to open the file.

See Also

File System Operations

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.