Re: [PHP] dumb time question

2003-01-13 Thread Tim Ward
use the date() function, in this case date("i") and date("h") or date("H") Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From: Pag <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003

[PHP] dumb time question

2003-01-13 Thread Pag
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 d