如何在2013年9月26日星期四格式获取日期? [关闭]

I want to get date in following format Thursday, September 26, 2013.

The name of day should be full like Monday not like Mon and same for the month format.

How to get this format?

I got this like following way

$mydate=getdate(date("U"));
echo "$mydate[weekday], $mydate[month] $mydate[mday], $mydate[year]";

OR

$today = date(DATE_RFC822);
echo date('l,F d,Y',strtotime($today));

Use php date function as below.

echo date('l,F d,Y',strtotime($date));

Date Format