Hello,

I'm getting two different values when I use a timestamp with the
date_create() and date() functions:

echo date_create('@1361240634')->format('Y-m-d');
// output: 2013-02-19

echo date('Y-m-d',1361240634);
// output: 2013-02-18

Is this a known issue?

My timezone setting is set to America/Toronto. System time is set to
2013-02-18. Tested with PHP version 5.3.0 and 5.3.21


__
Raymond

Reply via email to