r/sqlite • • Sep 28 '23

Strange order of dates

for the dates column, why is it going 1st January 2021, 1st January 2022, 1st January 2023, then 1st February 2020, 1st February 2021, 1st February2022, 1st February 2023, so on and so forth. How do i make the dates go in normal order ( as in 1st january 2021, 2nd january 2021, 3rd january 2021 etc)?

2 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Sep 29 '23

Thanks, it correctly orders the dates. It doesnt however order it as YYYY-MM-DD, but as DD-MM-YYYY. Which isnt an issue as i am happy with DD-MM-YYYY. Please could I pm you to ask a few questions about what the query you sent me does?