145
Views
2
Comments
Solved
how can I check if a datetime is between two datesTime

how can I check if a datetime is between two datesTime

2026-02-26 06-29-24
Rahul
 
MVP
Solution

Hi ,

You can use greater than and less than operator between dates.

Like below example -

CurrDate() > TextToDate("2022-10-01") and CurrDate() < TextToDate("2022-10-30") 

You can use your dates in place of TextToDate("2022-10-01")


Hope this will help you.

UserImage.jpg
Ibtissam MS

Thanks a lot It works now

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.