If I do
Thu Aug 18 2011 13:00:00 GMT-0500 (CDT)
echo date('Y-m-d H:i:s', 1313690400000);
So remove three zeroes at the PHP side:
echo date('Y-m-d H:i:s', 1313690400);
So to get the same date in php, divide by 1000 first
echo date('Y-m-d', 1313690400000 / 1000);
©2020 All rights reserved.