ADF RC: Date and Time

person Bijeshfolder_openADFlocal_offer, , , access_time June 3, 2008

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!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>