Storing date and time as epoch vs native datetime format in the database
Posted
by zakovyrya
on Stack Overflow
See other posts from Stack Overflow
or by zakovyrya
Published on 2010-04-12T17:23:19Z
Indexed on
2010/04/12
17:43 UTC
Read the original article
Hit count: 379
For most of my tasks I find it much easier to work with date and time in the epoch format:
This list can go on, but for me in order to keep my code portable that's enough to ditch database's native datetime format and store date and time as integer. What do you guys think?
© Stack Overflow or respective owner