3 ms·
The lack of a datetime data-type hasn't been a problem in my experience. I have, at different times, stored the timestamp as an integer representing number of m
by coleifer 9y ago
The lack of a datetime data-type hasn't been a problem in my experience. I have, at different times, stored the timestamp as an integer representing number of microseconds since the epoch, or stored in YYYY-mm-dd HH:MM:SS (which sorts lexicographically so comparisons come out right). SQLite has some built-in facilities for working with datetimes as well, along the lines of strftime, etc.
H2, being java, is in a whole different universe from SQLite...not a valid comparison in my view.
- mulmen 9y ago...in UTC. Right? RIGHT?!
- HumanDrivenDev 9y agoNot going to lie, after reading that I quickly went to check that "Date.now()" in javascript returned UTC.