Set default date on date field

PrandeepSharma
Tera Contributor

Hi,

I just created a new Date field that shows only when incident on hold. I am trying to set a default date using dictionaries default value, however none of the javascript GlideDateTime seem to work.

I just need to set the default value to be 6 days from current date. Please help

11 REPLIES 11

Community Alums
Not applicable

Hi @PrandeepSharma PSB snapshot for reference

 

bhavaniy_0-1669108570032.png

 

Please mark my response as helpful/correct based on the impact.

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @PrandeepSharma ,

Use below syntax . Tested

 

 

 

 

GunjanKiratkar_0-1669109582139.png

 

Date :-

GunjanKiratkar_1-1669109609899.png

 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy