Check for upcoming dates < 7 days from today
Options
Emilio Carranza
Member ✭
Can you assist me in transforming date/time fields.
Creating an API that looks at Activities with a start dates (7/21/2021) that are less than 7 days from today (7/14/2021) and start date greater than today.
[checkdate7days1.png][checkdate7days2.png]
Tried but could not figure out. Thanks again!!!
Creating an API that looks at Activities with a start dates (7/21/2021) that are less than 7 days from today (7/14/2021) and start date greater than today.
[checkdate7days1.png][checkdate7days2.png]
Tried but could not figure out. Thanks again!!!
Comments
-
Hi Emilio - there is a filter where you can add days to a timestamp called "timestamp_add_days"
[Screenshot_2021-07-15_21-31-38.png]
However, it looks like your dates are in a text format, which won't be able to be filtered like this. Are you able to store your dates as a timestamp instead? -
that is probably the best thing to do. will change to timestamps. thanks!
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