CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Posts
    72

    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


  2. #2
    Join Date
    Jun 2002
    Posts
    1,417

    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
  •  





Click Here to Expand Forum to Full Width

Featured