Date problem
Posted: Sat Jun 21, 2014 3:03 am
I am selecting a unix time from a mysql database which is 4094946000 - I used an online converter and this timestamp converts to Tue, 06 Oct 2099 05:00:00 GMT
I then use
...and I get 30/08/1963 - what am I doing wrong?
I then use
Code: Select all
$date = 4094946000;
$date = date('d/m/Y',$date);