System date and time c++
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
hi i want system Date and time with Milli second.... iam using SYSTEMTIME st; GetSystemTime(&st); this one give wrong time...please any body
-
hi i want system Date and time with Milli second.... iam using SYSTEMTIME st; GetSystemTime(&st); this one give wrong time...please any body
Use the SystemTimeToTzSpecificLocalTime[^] to convert it to local time. Even easier would be to use the GetLocalTime[^] function instead of
GetSystemTime
.Steve
-
hi i want system Date and time with Milli second.... iam using SYSTEMTIME st; GetSystemTime(&st); this one give wrong time...please any body