grey out days in calendar

brendanwilson84
Kilo Guru

Hi Guys

Has anyone ever greyed out certain days on the calendar picker. For example, only letting the user pick a "Monday" only. If so could you explain how you went about it? We are using Fuji.

Thank you in advance

2 REPLIES 2

sakshigupta
Kilo Expert

Hi Brendan,



I have not ever greyed out any day in calendar but in such cases I used to write an onChange/OnSubmit client script where I check the day by using GlideDateTime. functions.



Please refer the below link for date/Time functions:


GlideSystem Date and Time Functions - ServiceNow Wiki



Thanks,


Sakshi


johnram
ServiceNow Employee
ServiceNow Employee

The ServiceNow Wiki content is no longer supported. Updated information about this topic is located here: GlideDateTime
 
 


Visit http://docs.servicenow.com for the latest product documentation