Q: How do I query for a specific date on created_at/modified_at? #118
-
select * from files
where modified_at = "<current date>"doesn't work. I've tried variations with single apostrophes or no apostrophes. Are Side note: Suggest you create a Discussions tab for your github project? I would have put my question there instead of filing an issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Good idea with the discussion! I will create it soon! To get all files modified today you can run the following query: SELECT * FROM files
WHERE date(modified_at) = date('now')You can read more about date time operations in SQLite here. Note that currently SQLSeal does not use the latest version of SQLite so functions like timediff are not available unfortunately but it should get updated soon! |
Beta Was this translation helpful? Give feedback.
Good idea with the discussion! I will create it soon!
To get all files modified today you can run the following query:
You can read more about date time operations in SQLite here.
Note that currently SQLSeal does not use the latest version of SQLite so functions like timediff are not available unfortunately but it should get updated soon!