QF Date 'optionIncrement'
| From: | Mike Carter | Date: | Thu, 13 Nov 2003 18:04:36 +0000 |
| Subject: | QF Date 'optionIncrement' | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8891@lists.php.net to get a copy of this message | ||
Hi,
Using the following code to create a time and date selector - when I add in
the 'optionIncrement' it seems to go in to a loop causing the PHP script to
timeout.
$dateTime[] = &HTML_QuickForm::createElement('date', 'dateTime',
'',
array('language' => $_SESSION['_lang'], 'format' => 'H:i on
dFY ', 'minYear'
=> date('Y'), 'maxYear' => date('Y')+5,
'optionIncrement' => 15));
Is it only possible to use when I just use the 'H:i' format on its own?
Regards,
--
Mike Carter
[Senior Web Developer]
Personal Medical Advisor Limited
T: 0161 927 2330 | F: 0161 928 2932 | W:
www.personalmedicaladvisor.co.uk
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________