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. Day Light Savings Time ( is it on)

Day Light Savings Time ( is it on)

Scheduled Pinned Locked Moved C / C++ / MFC
3 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.
  • C Offline
    C Offline
    Colin J Davies
    wrote on last edited by
    #1

    Is there a function that will tell me if Day Light Savings is turned on and if an OS is running in summer or winter Warm Regardz

    M 1 Reply Last reply
    0
    • C Colin J Davies

      Is there a function that will tell me if Day Light Savings is turned on and if an OS is running in summer or winter Warm Regardz

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      I think the CRT variable _daylight indicates whether daylight savings time is in effect. The docs aren't exactly crystal clear, though. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.

      C 1 Reply Last reply
      0
      • M Michael Dunn

        I think the CRT variable _daylight indicates whether daylight savings time is in effect. The docs aren't exactly crystal clear, though. --Mike-- http://home.inreach.com/mdunn/ The Signature, back by popular demand: Buffy. Pajamas.

        C Offline
        C Offline
        Colin J Davies
        wrote on last edited by
        #3

        Thanks for the speedy response Mike, Yes you are right ! but its now proving a devil to test for I'll implement it anyway as its several months before DST comes into effect here, To see if it works correctly. Regardz Colin

        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