Announcements
Hi
i'm trying to validate the end date that should be defaulted to greater than 7days from the start date, if end user is selecting before 7 days it should show some error, is there a possibility to do this ?
Hi @Sharuk ,
You need the DateDiff() Function. So
If( DateDiff( StartDate, EndDate, Days )>7, Notify( "Period cannot be more than 7 days", NotificationType.Error ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi,
I'm not sure but maybe you could use this DateDiff(startDate, endDate, Days)If( DateDiff(startDate, endDate, Days) < 7, Notify(...)I'm not sure if this is what you're looking for.
Kind regardsRyan
Hi @WarrenBelz , in my case i'm looking for end date to be greater than 7days. so that would be <7 days ? correct me if i'm wrong
@Sharuk ,
Actually <8 days or <= 7 days
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 610
Haque 317
WarrenBelz 315 Most Valuable Professional