Solved

convert time EST to CST

Posted on 2006-06-14
2
10,535 Views
Last Modified: 2008-02-01
Hi,

Please kindly assist how can we convert on runtime from EST to CST?

select convert(EST,CST,DTStart) from MyTable



Thanks.
0
Comment
Question by:RyanBank
2 Comments
 
LVL 69

Accepted Solution

by:
ScottPletcher earned 500 total points
ID: 16904305
Just subtract one hour:

SELECT DATEADD(HOUR, -1, DTStart) AS [CST]
0
 

Author Comment

by:RyanBank
ID: 16904497
thanks!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SQL server 2008 SP4 29 34
Dynamic sql query that use Nvarchar and exceed 4000 characters 22 23
Slow SQL query 12 26
Stored procedure 23 9
Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now