When getting the time in Chrome and Firefox I get the number of milliseconds for a given date, but for Safari it Shows NaN. Any ideas why this would happen? I would need it to show also the number of milliseconds -as well- in Safari.
PHP code
$date = $product->getDateEnd();
Javascript:
var countDownDate = new Date("<?php echo $date ?>").getTime();