Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Get daylight savings time Expand / Collapse
Author
Message
Posted Wednesday, August 25, 2010 11:24 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, August 19, 2015 9:28 AM
Points: 42, Visits: 476
Comments posted to this topic are about the item Get daylight savings time
Post #975361
Posted Thursday, August 26, 2010 1:40 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, August 19, 2015 9:28 AM
Points: 42, Visits: 476


Thank you for your response.

The optimization in this case is negligible, but I do see your point. The downside to your script is that the dates are hard-coded, and one has to remember to enter in the new dates as time goes on.

The main purpose of this script is for those that do not have lookup tables, and need a quick solution to converting dates while adjusting for daylight savings time.
Post #975915
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse