Frequently Asked Questions
Frequently Asked Questions
Samples of Countdown Timers > FAQ > Frequently Asked Questions

Search knowledgebase:  

How do I set the time zone to +5:30 (for India)?

Solution

The time zone offset "5:30" is an offset of 5 hours and 30 minutes or 5 and one half hours; the variable "tz" in this countdown timer code is the time zone offset in hours only and will not recognize or understand the colon (:). The proper number to place in the code is 5.5 which is 5 and one half hours. So:

var tz=5.5;
 
Was this article helpful? yes / no
Article details
Article ID: 4
Category: Time Zone Issues
Views: 190
Rating (Votes): Article rated 3.4/5.0 (28)

 
« Go back

• • • Powered by Help Desk Software HESK • • •
Licensed to www.rmkwebdesign.com
JavaScript tutorials
Dragon NaturallySpeaking 11 Premium by Nuance