QuickForm date format question

From: Date: Fri, 07 Jul 2006 17:54:05 +0000
Subject: QuickForm date format question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24593@lists.php.net to get a copy of this message
I am using this: $form->addElement('date', 'eventEndTime', 'Event End Time', array('format'=>'hiA')); to create a time select for an event in my form. I want the minutes to show up as 00, 01, 02, etc. but the values are not, just the display. Is there a way to fix this? The minutes are getting passed as 0, 1, 2, 3 ex: <select name="eventTime[i]"> <option value="0" selected="selected">00</option> <option value="1">01</option> <option value="2">02</option> <option value="3">03</option> <option value="4">04</option> <option value="5">05</option> -- RightCode, Inc. 900 Briggs Road #130 Mount Laurel, NJ 08054 P: 856.608.7908 F: 856.439.0154 E: ckline@rightcode.net

« previous php.pear.general (#24593) next »