Set a default time or remove the time picker within the date picker

clivebushell
Giga Contributor

Hi,

I wish to either remove all together or default the time in the date picker to 00:00:00 , is this at all possible. At the moment it defaults to the current time.

find_real_file.png

Many thanks

Clive

1 ACCEPTED SOLUTION

christopheriron
Tera Expert

Hi Clive,



I believe the field will need to be set to Date instead of Date/Time in order to remove the time field from the bottom. If that's not possible you can set the time to 00:00:00 automatically by going to the dictionary entry for the field and setting the default value to javascript:new GlideDateTime().date



Kind Regards,



Chris Ironside


View solution in original post

8 REPLIES 8

Hi Jaspal,



Thanks for the reply and link, sadly it is not working for me



Kind regards



Clive


Ben169
Tera Contributor

The client script option work for a number of releases. However, now with Washington DC release, it no longer is effective. Anyone have any other ideas?

 

Did anyone find anything for this?