How can I format my SYSTEMTIME structure so that I can move it to the end of my .ini file?
Posted on 2002-01-22 10:31:37 by TCT
what do you mean with format? why not just put these
8 words into your ini?
Posted on 2002-01-22 10:37:28 by mob
Oh, sorry I mean .log instead of .ini.

I want to open my log-file with a simple editor and not with a hex-editor where I have to calculate the date and time first from the hex value.

Or are the values replied by GetLocalTime BCD values?
Posted on 2002-01-22 10:52:27 by TCT
You can use GetTimeFormat and GetDateFormat to get a formatted text with data and time. For exact calling conventions look at MSDN.
Posted on 2002-01-22 12:49:18 by LuHa
The W32PR I have.

But I thought GetTimeFormat and GetDateFormat would give back the format of the time settings and not a formatted time. :grin:

Thx for this advice.
Posted on 2002-01-22 13:30:23 by TCT