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
Solved

local and server dates, timezones

Posted on 2014-03-12
2
148 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
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

860 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