Saturday, May 05, 2007

What's Your Timezone Offset?

I previously noticed that when creating my calendar that timezones in Blogger seem a little "messed-up" (See the calendar instructions & scroll down to the timezone section).

I recently saw a post by phydeaux3 complaining about the same thing.

So instead of relying on Settings -> Formatting -> Time Zone to get your actual UTC offset (which doesn't seem to be correct 100% of the time), I wrote this little script to get your actual offset.

Click here to view the script.

This uses a JSON feed callback so make sure to have (at the very least) summary feeds enabled. It's kinda strange that feeds have the correct UTC offset, but other (more user friendly) parts do not.

5 comments:

Anonymous said...

I always wonder if we can have two main in one page. Of course, the content of each are different.

Like having two sidebar, but two have two main, had anybody think about it?

:D

Zack.

Titash Roy said...

Dude..can you provide me with a js script which downloads random css to my templates..as you did in css template hack where users chose his theme for the blog..can you randomize that option for a different theme every time refresh is pressed..keen on a reply!

PurpleMoggy said...

@titash roy

Go look at DynamicDrive's instructions page & you'll see that there is an option to randomly apply a theme.

TonNet said...

Hey Purple. Since Technorati changed the way they rank blogs, your Tecnorati Rank Script is not working anymore. Would you please take a look at it and help us see aour ranks with your hack

PurpleMoggy said...

@TonNet

It looks like there was some sort of momentary glitch. I just manually refreshed everybody and it seems to be working again.

If you want to use the new authority system (rather than rank) then Technorati already has a widget that you can use.