What formats do dates need to be in in order to query a range in the database?
Options
ChrisDavis
Member ✭
I need to grab all rows in a database for a week range. I have the first date of the week and the last date of the week. I've tried timestamps, YYYY-MM-DD, and MM/DD/YYYY. All of those return an error: message=Invalid syntax for schema type[date]
It seems like this would be a simple thing, so maybe I'm doing something wrong. Any help would be appreciated.
Best Answer
-
NVM. I think I figured it out. Was a formatting issue.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback