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

What on earth are you doing using time zones in a server application? Time zone is purely presentation, you should be storing and calculating everything in UTC and only converting to time zone for presentation to a user based on that user's time zone (either via a user defined setting for your application or based on the current time zone setting of a user's system). You should never, ever, ever use the server's time zone to determine presentation to a user (or for anything really).


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

Search: