Results 1 to 40 of 41

Thread: Daylight Saving nightmare

Threaded View

  1. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Daylight Saving nightmare

    Most filesystems Windows can use store timestamps in UTC values. <- Wrong!

    You should use API calls to work with those, and where necessary for display or input purposes you can do conversions to and from local time at the "point of use." Always store UTC timestamps within files or databases you use to track things. <- More complicated than this.

    This is a pretty classic newb mistake, and a reason why off the shelf utilities usually make more sense than hand-rolled code for something so common. <- Thus I don't do this myself.
    Last edited by dilettante; Mar 13th, 2016 at 06:32 AM. Reason: one mistake after another

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