PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
siefkencp
Forum Commoner
Posts: 69 Joined: Thu Dec 16, 2004 8:50 am
Post
by siefkencp » Mon Feb 21, 2005 2:54 pm
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Feb 21, 2005 2:55 pm
m = month. not minute.
i = minute.
siefkencp
Forum Commoner
Posts: 69 Joined: Thu Dec 16, 2004 8:50 am
Post
by siefkencp » Mon Feb 21, 2005 3:06 pm
AHHH HA!!!
That explains everything. Feyd, as ussual you are the greatest.