Ok...I'm using GetSystemTime to get in a string the users' system current time...
But in some way SYSTEMTIME::wHour, is not return the correct one... I read msdn about this...but I didn't understand how to print the correct one...
any hints?
Code:SYSTEMTIME st; char szHora[64]; GetSystemTime(&st); wsprintf(szHora, "%i:%i:%i", st.wHour, st.wMinute, st.wSecond);