How Can I select time?

0
Hi Expert Anyone who could help me sovle this issue, how can I select the special time, I only can select day not time now.  thank you.  
asked
3 answers
1

Hi Bill,

You can use Time input widget for this as  it allows to select time

 

image.png

answered
1

You could check out some marketplace widgets, like the Mendix Time Input Widget or other time pickers and include them in your project. 

answered
0

I would use different approach here.

 

Store as DateTime (recommended if you’ll calculate with it)

  • Create an attribute of type DateTime in your entity.

  • In your Page → Input widget, use a Date Picker / Time Picker but hide the date part:

    • Go to Properties → Display options, set it to Time only.

    • This way the user only selects HH:mm.

  • Internally, Mendix will still store a full DateTime (with today’s date), but you can ignore the date part in your logic and only use .formatDateTime($yourObject/TimeAttr, 'HH:mm').

answered