Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Current time

Current time

Scheduled Pinned Locked Moved C / C++ / MFC
questioncom
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    esapp420
    wrote on last edited by
    #1

    Anybody out there know how can I get the current GMT from a website such as worldtimeserver.com using CInternetSession?? I need a reliable timestamp that is not attached to the user's system time. Any tips would be appreciated! Its always 4:20 somewhere!

    R B 2 Replies Last reply
    0
    • E esapp420

      Anybody out there know how can I get the current GMT from a website such as worldtimeserver.com using CInternetSession?? I need a reliable timestamp that is not attached to the user's system time. Any tips would be appreciated! Its always 4:20 somewhere!

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      This would be an excellent example of a web resource provider! You can use this framework to write it. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

      1 Reply Last reply
      0
      • E esapp420

        Anybody out there know how can I get the current GMT from a website such as worldtimeserver.com using CInternetSession?? I need a reliable timestamp that is not attached to the user's system time. Any tips would be appreciated! Its always 4:20 somewhere!

        B Offline
        B Offline
        Bill Wilson
        wrote on last edited by
        #3

        try this http://www.time.gov/timezone.cgi?GMT/d/0/ When I did this from their web page, it looked like the GMT is simply used for display purposes. the 0 is used as an offset from GMT. E.G. PDT is -8. Hope this helps, Bill

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups