Need to convert DWORD to Date Time
C / C++ / MFC
21
Posts
8
Posters
0
Views
1
Watching
-
Based on the limited information you've provided, I'd go with something like:
DWORD dw = 524642425;
Date time dt = dw; ;)Now if you want a more helpful, detailed answer, please rethink your question. Ask yourself something like, "What does 524642425 represent?" Is it the number of seconds since the start of time, or the number of milliseconds since Windows was last started, or the number of nanoseconds since the start of the year, etc?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne