Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> DST will always give you an ambiguous localized time. If you take input in local time, and it's in the repeating DST window (01:00<=t<02:00 for spring in USA).

No, it won't, and I was explicit about this in the comment you're replying to: the DST flag is part of your input time.

If you don't know the DST flag's value, you don't have a timestamp.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: