Page 1 of 1

[SOLVED] Date() bug??

Posted: Mon Feb 21, 2005 2:54 pm
by siefkencp
I have a problem when calling my date function regardless of if I use the time stamp or not.

Here is what I am doing:

Code: Select all

$date = date("h.m:s", time());

print "$date";
What happens:
The hour and seconds are correct. the minute keeps repeating on 02. What gives? Any ideas?

Chris

Posted: Mon Feb 21, 2005 2:55 pm
by feyd
m = month. not minute.
i = minute.

Posted: Mon Feb 21, 2005 3:06 pm
by siefkencp
AHHH HA!!!

That explains everything. Feyd, as ussual you are the greatest.