5
I have an application in .c
, I finished it but I have a problem with the time. Example: I am recording everything that is done with date and time only the time is early. When I do an operation at 12:54 the time shown is 15:54:16, below is the code:
Note: the time of the computer is correct.
SYSTEMTIME str_t;
GetSystemTime(&str_t);
After that access to the information, and the str_t
in the debug Already this with the wrong time.
I understood, how I would do this treatment in . c?
– Hiago Souza
Edited to indicate the correct solution.
– Maniero
Perfect, that’s what I wanted! Very simple rsss. I will mark as correct, but I have to wait 2 min...
– Hiago Souza