Change date format in Catalog Item (default value)

Diorella Angulo
Tera Expert

Hi,

I have the following script in the Default Value which it is working fine. The format is YYY/MM/DD, but I want to change it to MM/DD/YYY. How can I do that? Right now it is showing 2020-7-23.

find_real_file.png

5 REPLIES 5

Pratiksha Kalam
Kilo Sage

Hello,

Do you want to add format only this date field only? Because Its not possible until global changes is done.

Have look on this,

https://community.servicenow.com/community?id=community_question&sys_id=387e0721dbdcdbc01dcaf3231f96...

If answer is helpful please mark helpful or correct!

Thanks,

Pratiksha

For ref,

find_real_file.png

Thanks,

Pratiksha

Hello,


Yes, only for this date field. I don't want it to change it globally. I don't want others Catalog Items to be affected. Is there no a script or something to only set up this field with a specific format?

Sudhanshu Talw1
Tera Guru

Hi,

 

You need to change the date format in system settings.

 

Thanks

Sudhanshu