Epoch to date is 3 years off

cholo12

New Member
i get a epoch time returned from a webservice wich is about 3 years off in PHP but fine in javascript and the epochconverter.comJS: \[quote\] alert('book '+ new Date(1285565357893)); // returns a time this morning 27 sep 2010, Correct!\[/quote\]PHP: \[quote\] echo strftime('%x', 1285565357893); // returns a date in 2013, Wrong !\[/quote\]Timezone is set to: Europe/AmsterdamWhat am i doing wrong here ?
 
Back
Top