graham23s Posted January 13, 2011 Share Posted January 13, 2011 Hi Guys, I'm sure i have done this before, is there a way to shorten dates like: December 16, 2010 to Dec 16, 2010 and January 16, 2010 to Jan 16, 2010 etc, i have used $dateFormatted2 = date("F j, Y", strtotime($d2)); to get the date format i have now. any help would be appreciated thansk guys Graham Link to comment https://forums.phpfreaks.com/topic/224352-date-format/ Share on other sites More sharing options...
BlueSkyIS Posted January 13, 2011 Share Posted January 13, 2011 there are lots of options available. http://php.net/manual/en/function.date.php Link to comment https://forums.phpfreaks.com/topic/224352-date-format/#findComment-1159058 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.