News for hackers. Stuff that matters.
Re:How to save datetimes for future events by baddox on Monday March 23, 2015 @02:12PM (#9252442)
> Instead of saving the time in UTC along with the time zone, developers can save what the user expects us to save: the wall time. Ie. what the clock on the wall will say.

That's not at all foolproof, although it works for the case the author describes and probably works for most people most of the time. It wouldn't work if, for some reason, I'm entering a calendar event for something I know will happen exactly n hours from now.

Re:How to save datetimes for future events by mark-r on Monday March 23, 2015 @03:09PM (#9252779)
In that case, go ahead and convert to UTC and save UTC as the relevant zone. In no case is timestamp+zone less flexible than UTC timestamp by itself.
Re:How to save datetimes for future events by laut on Monday March 23, 2015 @04:29PM (#9253184)
The article is about saving datetimes. Usually calendars use datetime too.

If you need to count down X hours you are not looking to save a datetime. Maybe use an egg timer or the countdown feature of a smartphone.