Display the date and time as a string.
-
I have a
DATE
type variable and i am trying to display the date and time stored in it but i am not able to succeed. can anyone give me any suggestions? The date I am trying to display is in the form of FILETIME. Thanks in advance.Regards, Vijay. God may not give us what we 'want', but he surely gives us what we 'need'.
-
I have a
DATE
type variable and i am trying to display the date and time stored in it but i am not able to succeed. can anyone give me any suggestions? The date I am trying to display is in the form of FILETIME. Thanks in advance.Regards, Vijay. God may not give us what we 'want', but he surely gives us what we 'need'.
-
Thanks. i had the problem solved immediately after i posted the question here. :)
fd0129002 wrote:
Try FileTimeToSystemTime function.
yes, I used the same function. Thanks anyways. :)
Regards, Vijay. God may not give us what we 'want', but he surely gives us what we 'need'.
-
Thanks. i had the problem solved immediately after i posted the question here. :)
fd0129002 wrote:
Try FileTimeToSystemTime function.
yes, I used the same function. Thanks anyways. :)
Regards, Vijay. God may not give us what we 'want', but he surely gives us what we 'need'.
hi, You can also use (in VC++, at least):
CTime time = CTime::GetCurrentTime ();
CString szEditTime = time.Format ( "%A, %d.%B.%Y, %H:%M:%S" );Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?