Hits: 665 <?php function timeElapsed($originalTime){ $timeElapsed=$originalTime-time(); return $timeElapsed; } //$Details['datetimepicker'] = "06/26/2014 11:42 am"; // coming from database $dtp = timeElapsed( strtotime($Details['datetimepicker']) ); ?> var myCountdownTest = new Countdown({ time: <?php echo $dtp; ?>, width : 300, height : 50, style:"boring", rangeHi:"day", labelText : { second : "SECONDS", minute : "MINUTES", hour : "HOURS", day […]
↧