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
Create Access Table Automically
truncate vs delete
Unable to connect Entourage 2004 to SBS 2008 Exchange mailbox
Your log in to the Switchboard timed out. Please click OK to reload or Cancel to quit.
object required error
Where do I need to close/Dispose of my connections, in my code
What is the best cms to use with dreamweaver
Extract Objects from Stream
Editable dropdown list in ASP.net 3.5 using C#
Clearing a submit form once submitted