digitalgod Posted September 5, 2006 Share Posted September 5, 2006 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 https://forums.phpfreaks.com/topic/19792-date-error-why-solved/ Share on other sites More sharing options...
digitalgod Posted September 5, 2006 Author Share Posted September 5, 2006 nevermind found my mistake. Link to comment https://forums.phpfreaks.com/topic/19792-date-error-why-solved/#findComment-86538 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.