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. How to convert Time Zone

How to convert Time Zone

Scheduled Pinned Locked Moved C / C++ / MFC
jsontutorial
2 Posts 2 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.
  • P Offline
    P Offline
    Parthi_Appu
    wrote on last edited by
    #1

    Hi All, I want to know an API which can convert time in certain time zone to GMT/UTC. Not the API which will use local system time zone to convert to GMT. My input time may be in EST, CST, etc... And I know the time zone of the time object I have, so I need an API which can convert this time to GMT. I came across below API but I'm not sure about how to use it, mainly the first paramater. SystemTimeToTzSpecificLocalTime Thanks


    Do your Duty and Don't expect the Result

    L 1 Reply Last reply
    0
    • P Parthi_Appu

      Hi All, I want to know an API which can convert time in certain time zone to GMT/UTC. Not the API which will use local system time zone to convert to GMT. My input time may be in EST, CST, etc... And I know the time zone of the time object I have, so I need an API which can convert this time to GMT. I came across below API but I'm not sure about how to use it, mainly the first paramater. SystemTimeToTzSpecificLocalTime Thanks


      Do your Duty and Don't expect the Result

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      You probably want this[^] and this[^]. If you need more, choose from the list here[^]. And read the documentation page on the functions you decide to use! :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

      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