jClocksGMT.js for WordPress

jClocksGMT.js for WordPress

jClocksGMT.js for WordPress

jQuery based analog and digital world clock(s) for WordPress.

Check it out on github.

What is jClocksGMT?

jClocksGMT is a jQuery analog and digital clock(s) plugin based on GMT offsets. Perfect for world clocks. Now supporting automatic daylight saving time conversions for affected timezones. Requires jQuery Rotate plugin. [bananas]

Demo

Features

  • Analog Clock
  • Digital Clock
  • Date Display
  • 5 Clock Skins
  • jQuery Rotate
  • Custom Time Formats
  • Custom Date Formats
  • GMT Timezone Offsets
  • Automatic Daylight Saving Time conversion on affected timezones.
  • Easy CSS customization
  • Easy image customization
  • [bananas][bananas][bananas]

Compatibility

Chrome, Safari, Firefox, Opera, IE7+, IOS4+, Android, windows phone.

Usage

Shortcode

Include jquery and the jClocksGMT script in your head tags or right before your body closing tag.

Documentation

Default options:
 title      : Usage is `
` Title of location offset : Usage is `
` Set Standard GMT offset dst : Usage is `
` set FALSE if location does not need to observe dst digital : Usage is `
` Display digital clock analog : Usage is `
` Display analog clock timeformat : Usage is `
` Time format date : Usage is `
` Display date dateformat : Usage is `
` Date format skin : Usage is `
` Set 1 of 5 clock themes.
Common offsets by time zone:

(only use the number after GMT: GMT-2 = offset: ‘-2’ Daylight Saving Time converted automatically)

GMT-12 Eniwetok
GMT-11 Samoa
GMT-10 Hawaii
GMT-9 Alaska
GMT-8 PST, Pacific US
GMT-7 MST, Mountain US
GMT-6 CST, Central US
GMT-5 EST, Eastern US
GMT-4 Atlantic, Canada
GMT-3 Brazilia, Buenos Aries
GMT-2 Mid-Atlantic
GMT-1 Cape Verdes
GMT 0 Greenwich Mean Time
GMT+1 Berlin, Rome
GMT+2 Israel, Cairo
GMT+3 Moscow, Kuwait
GMT+4 Abu Dhabi, Muscat
GMT+5 Islamabad, Karachi
GMT+6 Almaty, Dhaka
GMT+7 Bangkok, Jakarta
GMT+8 Hong Kong, Beijing
GMT+9 Tokyo, Osaka
GMT+10 Sydney, Melbourne, Guam
GMT+11 Magadan, Soloman Is.
GMT+12 Fiji, Wellington, Auckland

To find specific GMT offsets,
goto: http://www.timeanddate.com/time/zone/
search: location
use: Current Offset
if location is currently observing DST, add 1 to offset

Time Formatting:
Format Output Meaning
HH 19 24-hour format of hour with leading zero (two digits long).
hh 07 12-hour format of hour with leading zero (two digits long).
H 19 24-hour format of hour without leading zeros.
h 7 12-hour format of hour without leading zeros.
mm 01 Minutes with the leading zero (two digits long).
m 1 Minutes without the leading zero.
ss 08 Seconds with the leading zero (two digits long).
s 8 Seconds without the leading zero.
a pm Lowercase am or pm.
A PM Uppercase AM or PM.
SSS 095 Milliseconds with leading zeros (three digits long).
S 95 Milliseconds without leading zeros.
Z -0500 Difference to Greenwich time (GMT) in hours.
'NO ''FORMAT'' HERE' NO 'FORMAT' HERE The specified string within the single quotes printed literally. To escape a single quote, you must prepend it with another single quote.
Date Used:  Sunday April 3, 2016 19:01:08.095 GMT-0500 (CDT)
Date Formatting:
Format Output Meaning
YYYY 2016 Four-digit representation of the year.
YY 16 Two-digit representation of the year.
MMMM April Full textual representation of the month.
MMM Apr Three letter representation of the month.
MM 04 Month with the leading zero (two digits long).
M 4 Month without the leading zero.
DDDD Sunday Full textual representation of the day of the week.
DDD Sun Three letter representation of the day of the week.
DD 03 Day of the month with leading zero (two digits long).
D 3 Day of the month without leading zeros.
'NO ''FORMAT'' HERE' NO 'FORMAT' HERE The specified string within the single quotes printed literally. To escape a single quote, you must prepend it with another single quote.
Date Used:  Sunday April 3, 2016 19:01:08.095 GMT-0500 (CDT)

Creator

Richard McMaster

License

jClocksGMT is available under the MIT license.

Download



Join the Conversation

Loading Facebook Comments ...

8 thoughts on “jClocksGMT.js for WordPress

  1. AvatarThanh

    I like the valuable info you supply for your articles.
    I’ll bookmark your blog and take a look at again right here frequently.
    I am slightly sure I will learn lots of new stuff right here!
    Good luck for the next!

  2. AvatarJasper

    I am extremely inspired along with your writing abilities
    and also with the layout for your blog. Is this a paid theme or did you modify
    it your self? Anyway stay up the excellent high quality
    writing, it is uncommon to look a great blog
    like this one nowadays..

  3. AvatarAdell

    Hi there would you mind sharing which blog platform you’re working with?
    I’m planning to start my own blog in the near future but I’m having a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design seems different then most blogs and I’m looking for
    something unique. P.S My apologies for being off-topic
    but I had to ask!

  4. AvatarDew-Point Analyzers

    Do you have a spam problem on this blog; I also am a blogger, and I was curious about your situation; many of us have created
    some nice methods and we are looking to trade solutions with other folks, be sure to shoot me an email if interested.

  5. AvatarDelia

    Does your website have a contact page? I’m having problems
    locating it but, I’d like to send you an e-mail. I’ve got some recommendations for your blog you might
    be interested in hearing. Either way, great site and I look forward to
    seeing it improve over time.

  6. AvatarInez

    I loved as much as you will receive carried out right here.
    The sketch is tasteful, your authored subject matter stylish.
    nonetheless, you command get bought an impatience over
    that you wish be delivering the following.
    unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this hike.

Leave a Reply