Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to set Date field Value in specific format?

Nawal Kishor S2
Tera Guru

Hi Experts,

 

I want to show two date field value in DD-MM-YYYY format , for that i have created client script to change the format, it's working fine , but when i'm setting the value into the fields it showing me "Invalide Format". I know it is happen from system properties( Date format) field . currently its showing in yyyy-mm-dd format.

 

so how can i set for those two fields ,please brief me on this and let me know if there is any OOB dependencies?

 

Thank you

5 REPLIES 5

Nawal Kishor S2
Tera Guru

is there any way apart from string field experts, bcz my requirement is not going to fulfill using the string field.