Current Date and time needs to be default on Date and Time Picker

Akhil42
Tera Contributor

Hi All,

 

I have a requirement where the start date field needs to be default to current date and time.This configuration was for ESC Delegate widget.

Akhil42_0-1689783256127.png

 

Please let me know if anyone have implemented this before.

Thanks,

Akhil.

 

1 REPLY 1

Sagar Pagar
Tera Patron

Hi @Akhil42,

 

You need to add default value for Date time field.

 

javascript: new GlideDateTime();


If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

 

The world works with ServiceNow