Jump to content

date() question


ohdang888

Recommended Posts

i want to turn this: "08-08-08" into "August 8th, 2008" but i can't figure out how to do it... here's what i have so far and the error i'm getting:

 

date("08-08-08", 'D, js');

 

Warning: date() expects parameter 2 to be long, string given in /home/public_html/index.php on line 180

 

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/121893-date-question/
Share on other sites

Archived

This topic is now archived and is 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.