Hail,
Times in our application's DB is kept in GMT time so that when I query the DB I have to specify with dateadd the amount of hours to adjust to EST. Now this is either -4 from April to october or -5 from october to april. As it stands, I have to go into every query that has reports everytime and manually change this. Is there a function I can use to determine when it's -4 or -5.
Phailak
Times in our application's DB is kept in GMT time so that when I query the DB I have to specify with dateadd the amount of hours to adjust to EST. Now this is either -4 from April to october or -5 from october to april. As it stands, I have to go into every query that has reports everytime and manually change this. Is there a function I can use to determine when it's -4 or -5.
Phailak