• Post Reply Bookmark Topic Watch Topic
  • New Topic

Different Time Zones  RSS feed

 
Hemant Agarwal
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see different time as compared to my local time in Javaranch.
I want to see local timings in my website and also want to keep track of global time in database
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you have to write a browser-plugin (if your browser supports plugins).
Dependent on your browser, java might not be an option.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see different time as compared to my local time in Javaranch.

Yes, JavaRanch runs on Mountain Time, which is GMT - 7 hours.

I want to see local timings in my website

What do you mean by "my website"? Do you mean the JR page in your browser? The server has no idea what your local time is, but it may be feasible to write a GreaseMonkey script for Firefox (or a browser plugin, as Stefan pointed out) that converts Mountain Time to your local time, and changes the page accordingly. I don't really see what you gain by that, though.

and also want to keep track of global time in database

I have no idea what you mean by that.
[ January 20, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!