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

Yup. In our architecture (TVs and other devices) time is kept as UTC through the entire system - We actually have two APIs. One that is UTC time that is used in all middleware.. and a "GetCurrentTime" API that is used only in the presentation layer to know how time should be displayed on screen. GetTime returns UTC time getCurrentTime returns a time struct of hours / minutes / seconds... This works well and it allows developers to easily identify API misuse during code reviews.


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

Search: