Jump to content

date error?? why? *solved*


digitalgod

Recommended Posts

hey guys,

trying to display a date but for some reason it's giving me the wrong year...

here's what I got
[code=php:0]
$y = 2006;
$m = 08;
$d = 24;

echo date('l, F jS, Y, mktime(0,0,0,$m,$d,$y));

//outputs Thursday, August 24th, 2000
[/code]

why does it keep giving me 2000 as the year??
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.