dumb time question

From: Date: Mon, 13 Jan 2003 22:25:53 +0000
Subject: dumb time question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-131480@lists.php.net to get a copy of this message
Ok, this is going to be laughable, but here goes. I am looking at code too much to get this one: Have 2 text fields on a database called "hours" and "minutes". How can i get the current time (hour-minutes) in two digit format and apply it to the two variables? Everything i do only gets one digit when the minutes are between 00 and 10. I know its going to be stupid but anyway, could use your help, i cant see anything straight in this code anymore. :-P Sorry and thanks. Pag

« previous php.general (#131480) next »