DateTime()
Thursday, May 17th, 2012
DateTime('next Thursday')
Thursday, May 24th, 2012
DateTime::modify() | adding two months to the current date
Tuesday, July 17th, 2012
DateTime::setDate() | set the date to August 8, 2008
Friday, August 8th, 2008
ConstantOutput
ATOM2012-05-17T15:33:15-05:00
COOKIEThursday, 17-May-12 15:33:15 CDT
ISO86012012-05-17T15:33:15-0500
RFC822Thu, 17 May 12 15:33:15 -0500
RFC850Thursday, 17-May-12 15:33:15 CDT
RFC1036Thu, 17 May 12 15:33:15 -0500
RFC1123Thu, 17 May 2012 15:33:15 -0500
RFC2822Thu, 17 May 2012 15:33:15 -0500
RFC33392012-05-17T15:33:15-05:00
RSSThu, 17 May 2012 15:33:15 -0500
W3C2012-05-17T15:33:15-05:00