Y
Hacker News
new
|
ask
|
show
|
jobs
by
mort96
20 days ago
Of course you can store timestamps as integers, but then you lose sqlite's built-in date and time functions.
1 comments
masklinn
20 days ago
You do not. SQLite date/time functions work with time-values which can be ISO timestamp strings, Julian fractional day numbers, or Unix timestamps. See
https://sqlite.org/lang_datefunc.html
for the details.
link