Declare Function FileTimeToLocalFileTime Lib "kernel32.dll"
(lpFileTime As FILETIME, lpLocalFileTime As FILETIME) As
Long
Platforms: Win32s, Win 95/98, Win NT
FileTimeToLocalFileTime converts a time from UTC time (also
known as Greenwich Mean Time) to "local time" (inside the
computer's selected time zone). The source and target times
are stored in FILETIME structures. The function returns 1 if
successful, or 0 if an error occurs.
lpFileTime = The source time and date, which are in UTC
time.
lpLocalFileTime = Receives the time and date stored in
lpFileTime converted into the computer's current time zone
time.
But it does not mention that it would work in CE :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=406388
There is an API call shown here in VB format.
FileTimeToLocalFileTime Function
Declare Function FileTimeToLocalFileTime Lib "kernel32.dll"
(lpFileTime As FILETIME, lpLocalFileTime As FILETIME) As
Long
Platforms: Win32s, Win 95/98, Win NT
FileTimeToLocalFileTime converts a time from UTC time (also
known as Greenwich Mean Time) to "local time" (inside the
computer's selected time zone). The source and target times
are stored in FILETIME structures. The function returns 1 if
successful, or 0 if an error occurs.
lpFileTime = The source time and date, which are in UTC
time.
lpLocalFileTime = Receives the time and date stored in
lpFileTime converted into the computer's current time zone
time.
But it does not mention that it would work in CE :-(