How can I return the day of a DateTime in SQLite?
I have my field Date stored as a DateTime. Now I would like get the day from each row (just the day, not the full date).
I tried using the following, but it doesn't work. It doesn't give an error, but it just returns nothing
SELECT strftime('%d', Date) FROM sessiondate
SELECT strftime('%d', `Date`) FROM sessiondate
might work
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With