Jump to content


This topic is now archived and is closed to further replies.


date error?? why? *solved*

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
$y = 2006;
$m = 08;
$d = 24;

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

//outputs Thursday, August 24th, 2000

why does it keep giving me 2000 as the year??

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.


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.