I have a php variable
$date // unix time (int 1453884009) It contains the time to which you want to count
$(function() { setTimeout(function(){ location.href=location.href }, 3600000); var dater = <?php echo (integer) $date ?>; $('#clocker').flipcountdown({ beforeDateTime: new Date(dater / 1000) }); }); But nothing happens, counters by zeros
beforeDateTime: new Date(dater / 1000)most likely multiplied by 1000 sobeforeDateTime: new Date(dater * 1000)- Naumov