Solved

local and server dates, timezones

Posted on 2014-03-12
2
150 Views
Last Modified: 2014-03-13
Hi Experts,

We have a web application that intensively uses dates and times. These dates are managed using javascript (client side) and vb.net (server side) then stored in a sqlserver 2008 database.  We would like to store these dates in a ‘standard’ way.  I mean, (1) converting client date to server date or (2) saving dates independently of server or client time zone.  Also, we want the ability to render these dates on the local time zone of the browser.  What is the best and simple way to achieve this?

Thank You,
0
Comment
Question by:KnowledgeWare
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 39924411
There won't be one right answer to this question so you'll have to find your own way, ultimately.  That said, we convert client and server times to UTC, and save those along with the timezone offset for each.
0
 

Author Closing Comment

by:KnowledgeWare
ID: 39926882
It points me in the right direction
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question