Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Abraham Kuriak...
(101)
Deepika Harida...
(78)
shekhar
(71)
Last 7 Days
UmaShankar
(1211)
ANIL PANDEY
(659)
Deepika Harida...
(498)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Get current UTC/GMT time using Javascript
Posted Date: 02 Mar 2007 Resource Type:
Code Snippets
Category:
Date & Time
Posted By:
Tony John
Member Level:
Gold
Rating:
Points
: 10
This javascript code sample shows how to get the UTC/GMT time offset from the client. This is useful to find the time difference between the client and server in case of web applications.
When your website is accessed from different parts of the world, it is a good idea to store the UTC time in the database and convert them to client/server time wherever necessary.
You can assign this client time to a hidden variable and read from the server side code.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Comparing DateTime
Previous Resource:
Difference between two datetime objects
Return to Discussion Resource Index
Post New Resource
Category:
Date & Time
Post resources and
earn money
!
Related Resources
AddDays method of a DateTime object
To get the previous Month
How to Validate a given Date in C#
C# return Current Second
How to disable and color a specific date Range on calendar control
dotNet Slackers
BizTalk Adaptors
Web Design
it help desk
Contact Us
Privacy Policy
Terms Of Use