Piotr Caban piotr.caban@gmail.com writes:
Alexandre Julliard wrote:
You should use SystemTimeToFileTime or some similar function, no need to reinvent the wheel.
In this case SYSTEMTIME keeps information returned by GetTimeZoneInformation. It's used to store informations about daylight/standard time adjustment. Because there's no ordinary date SystemTimeToFileTime can't be used.
I see, that makes sense. You do need to check that the year is 0 though, because otherwise it's still a normal date format.