I need to display date as a pop-up, but the date to be displayed( Currentdate+IntervalDate-weekends)

vipuljay
Tera Contributor

I need to display the date as a pop-up but the date to be displayed should be Current Date + Interval Date(which varies) - (exclude the weekends).

6 REPLIES 6

Amit Verma
Kilo Patron
Kilo Patron

Hi @vipuljay 

 

Where you want to display the popup ? Also, from where we will get the value of interval date ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Hi @Amit Verma 

The pop-up is been displayed with some string stating " I will be available to work on YYYY/MM/DD ".

The interval value is been drawn from the sqe data mapping table.(everything is taken care but i am unable to exclude the weekends).

 

Thanks

Hi @vipuljay 

 

Please check below posts. You might get some ideas :

https://www.servicenow.com/community/developer-forum/how-to-exclude-weekends-from-selected-days/m-p/...

https://www.servicenow.com/community/developer-articles/select-only-business-days-excluding-holidays...

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Thank You .