![]() |
|
|
|
|
|
|
2
5th July 04:16
External User
Posts: 1
|
10 is the month, which is what the m means. Use i for minute:
http://www.php.net/date Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp |
|
|
|
|
3
5th July 12:08
External User
Posts: 1
|
Your script should be
print date ("m/d/y h:i:s A", mktime(16, 30, 0, 10, 10, 2003)); print date ("m/d/y h:i:s A", mktime(16, 30, 0, 9, 10, 2003)); see the 'i' difference in (h:i:s) your (h:m:s) is not right With php date() fonction : i = Minutes with leading zeros ex.: 00 to 59 m = Numeric representation of a month, with leading zeros Sylvain Giroux Solution Globale Informatique http://www.solutionglobale.com |
|