How to remove time from date/time sys_created_date field and from the list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2018 09:48 AM
Hello all,
I will greatly appreciate if anyone can share how to change a date/time field or to split the time off of the field and show only the date part in the field and in the list.
to this
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2018 09:52 AM
Unfortunately that isn't possible as those are Date+Time type fields. If must have date only, the only solution would be to create a date type field and use a business rule to replicate the date part of your existing field into that field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2019 03:35 PM
How would you do this? thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2019 03:58 PM
Here is the sample script
var gdt = new GlideDateTime(current.sys_created_on);
current.u_created = gdt.getDate();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2019 03:35 PM
How will you do this?