When using the following
echo date('D',strtotime("2013-06-16T06:00:00-07:00"));
echo date('D',strtotime("2013-06-16T18:00:00-07:00"));
First it returns Sun
and the Second returns Mon
. I'm not really sure why or how to correct! The Date:"2013-06-16T06:00:00-07:00"
is data I'm retrieving from a XML file. The timestamp
has the correction for UTC
at the end not sure if this is generating the error.
Thanks for any help.