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

You have two choices.

UNIX epoch time is defined as the number of seconds since 1970/1/1 midnight. You can do those.

I think there is also Julian time, which incorporates the Gregorian skip. It is stored as a floating point number, the integer portion being the day, and the fractional part being the hour.



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

Search: