Jump to content

a time/date question


jeff5656

Recommended Posts

I have a jquery plugin that is a live countdown timer and I would like to modify it.

Can someone tell me how to modify the code below so that the date is 20 minutes from right now (currently it is set as 26 January 2013).

 

<script type="text/javascript">
$(function () {
var austDay = new Date();
austDay = new Date(austDay.getFullYear() + 1, 1 - 1, 26);
$('#defaultCountdown').countdown({until: austDay});
$('#year').text(austDay.getFullYear());
});
</script>

Link to comment
https://forums.phpfreaks.com/topic/256999-a-timedate-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.