Date Validation

Ram_Mohan_Reddy
Tera Contributor

Hi Team,

I Have a Date field on Catalog item it should display the dates after5 days form current date should not include Weekends like Saturday and Sunday

Example: Today is 14 Dec and my field should show the dates from 29Dec which is not included Weekends (Sat And Sunday) User should not able to select the dates Before 29 Dec  he can able to select only after 29 Dec.

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Ram_Mohan_Reddy 

 

Greetings!!

 

This is not possible on calendar but you can put restriction if user select weekend.

 

https://www.servicenow.com/community/developer-forum/how-to-restrict-saturday-and-sunday-using-ui-po...

 

https://www.servicenow.com/community/now-platform-forum/prevent-saturday-sunday-from-being-selected/...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************