How to enable seconds selection in the Mendix Date Picker?

0
Hi everyone, I'm currently working on a Mendix app and I'm using the built-in Date Picker (DateTime Picker) widget. It allows users to select the date, hour, and minute — but I also need users to be able to select seconds. Is there a way to enable seconds in the default Date Picker, or do I need to use a custom widget or workaround? My use case involves recording timestamps with full precision down to seconds (or even milliseconds if possible). Any suggestions, best practices, or examples would be highly appreciated! Thanks in advance 😊
asked
1 answers
1

Hi Toan,

 

In the Date Picker, select the date format as 'Custom' and set the format to "yyyy-MM-dd HH:mm:ss". This format will allow users to select the date and time, including seconds.

 

image.pngimage.png

 

answered