sp-date-picker format

Srinivas_S
Tera Contributor

Hello Everyone!

 

I am using sp-date-picker, the default format is YYYY-MM-DD but I want to have the DD/MM/YYYY format. I did not find any solution regarding this. Could anyone please help me?
@jesseadams @adevezin 


Thanks

Srinivas

2 REPLIES 2

Sai Shravan
Mega Sage

Hi @Srinivas_S ,

Please take a look at this post, I think it might have the information you are looking for!

 

https://www.servicenow.com/community/developer-forum/set-date-picker-options-service-portal-sndatepi...

 

https://www.servicenow.com/community/in-other-news/date-time-format-service-portal/ba-p/2279511

 

Regards,

Shravan

Please mark this as helpful and correct answer, if this helps you

 

Sagar Pagar
Tera Patron

Hi @Srinivas_S,

There is not property to set the date format in date picker.

Take a look at this article: Date Time Format : Service Portal  

 

Thanks,
Sagar Pagar