jQuery 当前日期到结束日期的倒计时

jQuery countdown current date to end date

我正在使用这个插件:http://keith-wood.name/countdown.html
我想把倒计时脚本代码放在 php .
我有一个 php 回显值,例如 2016-02-29,这是倒计时结束日期。
如何将此值添加到此倒计时插件以开始从当前日期到结束日期的倒计时?

来自插件文档

$('#defaultCountdown').countdown({until: new Date(2016, 2-1, 29)}); 

例如

<?php
$date = strtotime('2016-02-29');
?>
$('#defaultCountdown').countdown({until: new Date(<?= (int)date('Y', $date) ?>, <?= (int)date('m', $date) ?>-1, <?= (int)date('d', $date) ?>)});