Unable to Change date field type

ARAVINDA11
Tera Contributor

@Ankur Bawiskar  @Community Alums  @Sohail Khilji  @Maik Skoddow  or anyone please help

 

How can I clear only the time value using the script in the attached screenshot in DATE/TIME value instead I should display only the DATE Value

 

ARAVINDA11_0-1718000808335.png

 

6 REPLIES 6

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

That's not possible, simply because these are date/time fields. For what you are after, you need a date field. You can't just clear the time scripted.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Maik Skoddow
Tera Patron
Tera Patron

Basically this is not possible. If a field is of type "Date/Time" then the time portion will also be included. You could create a new field of type "Date", however that way you would have some efforts in synchronizing the value back to the original fields.

Community Alums
Not applicable

Hi @ARAVINDA11 ,

Unfortunately not possible.

 

dgarad
Giga Sage

Hi @ARAVINDA11 

 Use the date type field.

dgarad_0-1718001460077.png

 

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad