Microsoft
Software
Hardware
Network
Question : JQuery CountDown
Hi there,
The following is the datetime field value stored in an SQLserver database in Brazil: 2010-08-26 21:46:42.380
I parsed it inside SQLserver, to be able to get the year, month, hour and minute.
Now I need to fill the "until" countdown parameter in the Jquery CountDown Javascript package... the link to it is below.
I did like below:
until: new Date(myYear, myMonth - 1, myHour, myMinute + 40), timezone: -3
because I want to give 40minutes, from the time stored, to the countdown timer.
The number that appears has NOTHING to do with 40minutes after the time stored. How should I understand/fix that?
Thanks!
Link:
http://keith-wood.name/cou
ntdownRef.
html#label
s
Answer : JQuery CountDown
Try :
until: new Date(myYear, myMonth - 1, myHour, myMinute + 40,
0
), timezone: -3
Random Solutions
iPhone jailbreak now legal, what's the safest?
Mac OS X 10.6.3 Can't logon to Active directory
Please explain me this javascript example about the DOM
Display Key Fields
Setting up DNS records for a small business with a new domain
window 7 OS: blank (black) screen only, as it logs in
How do display number as KB, MB, or GB?
adding static IP addresses onto a network. anything I should take into account?
Access Cheker Web part not working with MOSS SP2 with CU April 2010
How do I convert a 6 figure digit string to look like a date?