Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: Thursday, April 28, 2016 10:36 AM
Points: 42, Visits: 505
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: Thursday, April 28, 2016 10:36 AM
Points: 42, Visits: 505


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
Posted Wednesday, May 18, 2016 1:05 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, May 26, 2016 7:20 AM
Points: 7,816, Visits: 753
Thanks for the script.
Post #1787397
Posted Wednesday, May 18, 2016 1:06 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, May 26, 2016 7:20 AM
Points: 7,816, Visits: 753
I love scripts with date and time.
Post #1787398
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse