-
March 26th, 2007, 11:54 AM
#1
How to recover date from server timer?
Hello, this my problem.
I have an application in VC++ 6.0.
I need recover date from server timer, how I can do it?
Someone have code to give me or link of sample code?
Thanks at all
-
March 26th, 2007, 12:20 PM
#2
Re: How to recover date from server timer?
assuming you mean an MS-Windows server, if not then ignore this:
win32 api function GetSystemTime() gets current GMT time, and GetLocalTime() gets local time. Both functions populate a SYSTEMTIME structure that you pass to it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|