Re: QuickForm date element

From: Date: Wed, 31 Dec 2003 08:27:41 +0000
Subject: Re: QuickForm date element
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9885@lists.php.net to get a copy of this message
Hello Julie, Tuesday, December 30, 2003, 7:33:46 PM, you wrote: JK> I've noticed that the quickform date element drops the JK> leading zero for month and day values in the HTML JK> code: JK> <option value="3">03</option> JK> Is there anyway to keep that leading zero? My guess: Check the format of the string you pass to all the involved date objects. You can find what you need in the php documentation for the date() function Bye -- Best regards, Ing. Massimiliano Bariola Cell: ++39 329 3570098 REDLINK Italia S.a.s http://www.redlinkitalia.it mailto:m.bariola@redlinkitalia.it PGP Key: http://www.redlinkitalia.it/PGP/MB_PGPKEY.txt

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