Quickform: time format conversion to mysql time question

From: Date: Thu, 19 Jan 2006 22:53:12 +0000
Subject: Quickform: time format conversion to mysql time question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22617@lists.php.net to get a copy of this message
I have: $timeOpts = array('format'=> 'hia'); When I process this, is there an easier way than: $goTime = $v['goTime']['h'] . ":" . $v['goTime']['i'] . ":" . if($v['goTime']['a'] == 'a'){ $v['goTime']['h']; } else { $v['goTime']['h'] + 12; } ; to get & process the time field? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

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