Persisting Date/Time (no MFC)
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am looking for a way to convert a date/time to a string and then back. For instance, I have a COM component and when you call the Generate function I want it to return a string representing the current date and time. Then you pass the date/time string returned by Generate to a Verify function later it compares this string to the current date/time and returns false if the difference is more than say 3600 seconds. Can anyone tell me how to do this? It's an ATL component but I would rather not use MFC... Thanks in advance. William