Default the seconds field in the date time picker to zero all of the time

swathib
Mega Contributor

Hi All,

How to set default the seconds field in the date time picker to zero all of the time.

Could anyone help me how to accomplish it..

My version is in Helisinki..

4 REPLIES 4

Chuck Tomasi
Tera Patron

You might find this useful.



Date Time Picker customization


Chuck Tomasi
Tera Patron

If you don't use the seconds at all in the system, there is also a system property in System Properties> System.



find_real_file.png


Hi Tomasi,



Can we have any global property to set seconds to Zero in date/time picker??



I have used the above property but it is not displaying seconds box. I want to set to be Zero in Seconds box..


There is no property to set the date time picker to default to 00 seconds. It always defaults to the current time. You need to use a script similar to the one cited in my first comment if you want to change that value.