Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to change date/time format in catalog variable in servicenow

Ashok
Tera Contributor

Hi All,

 

How to change date/time format in catalog variable in serviceNow.

 

The requirement is change this format " 2024-02-21 10:01:29 " to DD/MM/Year. 

 

Please suggest for this requirement.

 

I am added below script in variable default view:

javascript: new GlideDateTime(); 

2 REPLIES 2

Pato_Herrera
Tera Contributor

hello.!!
any answer for this??? i have the same situation. thanks!

Gangadhar Ravi
Giga Sage

Hi @ Ashok @Pato_Herrera Please check below KB

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692765

 

Please mark my answer correct and helpful if this works for you.