The CreatorCon Call for Content is officially open! Get started here.

How to Change Date/Time picker in Service Portal to display the time field differently.

ChanchalG
Tera Expert

Hi,

i have a requirement where we want to Change Date/Time picker in Service Portal to display the time field without having to select the clock icon same as dictionary field Date/time. Is there any way to change it?

Portal Data/time picker:-

ChanchalG_0-1760093462490.png

 




dictionary field Date/time Picker in workspace :-

ChanchalG_1-1760093513766.png

 

Thanks,
Chanchal

2 REPLIES 2

M Iftikhar
Giga Sage

Hi @ChanchalG,

 

You can achieve this customization by modifying the Date/Time picker in the Service Portal to display the time field alongside the date - without needing to click the clock icon.

 

Refer to this KB article from ServiceNow support:

How to customize the Date Picker to show the Date and Time side-by-side - Support and Troubleshootin...

 

The article explains how to use the sideBySide configuration from the Bootstrap 3 DateTime Picker to customize the widget. Although this is not supported out-of-the-box in the Service Portal, you can implement this behavior by modifying the widget or using a custom directive that enables this layout.

 

If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

I am not able to understand this knowledge article.