javascript - Shopping days till christmas counter jQuery -


How to calculate shopping days in jQuery from Christmas counter Need to add to the website requires quick and dirty any part No date whose date should be consistent with

- the weekend of course is to be ignored - or not for the website after

"lesson">

You are easy to get the number of days remaining till date You can create a function from:

  to function days (year, month, day) {var now = new date (date), dates = new date (year, month - 1, Day), // month zero-based day = (date-now) / 1000/60/60/24; // Change milliseconds for day (math) field; } To the day (2009, 12, 25); // 1 9 days !!  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -