How do you enable the user to enter both date and time in an inputDate component? How do you allow the user to choose the date and the time in the calendar pop-up?It’s quite simple actually! Just add a convertDateTime within the inputDate component and set the type attribute to “both”. Play around with the other attributes particularly “pattern” and you can do cool things like enable the user to choose the timezone and stuff.
Hint: “pattern” takes the usual date-time format. “z” for the timezone.
Thanks to AMIS for this post, which is cool!!!!