Page 1 of 1

Help with Variables!

Posted: Thu Jan 15, 2009 1:28 am
by mushpoc
How would i set a variable to date('H') with $hour being the variable i have been trying, but it keeps blowing up on me.

Re: Help with Variables!

Posted: Thu Jan 15, 2009 1:36 am
by requinix
I... I must be misunderstanding the question.

Code: Select all

$hour = date("H");