SQL Reporting Services Daylight saving time query (pt 2)
Posted
by ross-starkey
on Stack Overflow
See other posts from Stack Overflow
or by ross-starkey
Published on 2010-03-26T10:47:31Z
Indexed on
2010/03/26
10:53 UTC
Read the original article
Hit count: 383
sql
I posted a question a couple of days ago (SQL Reporting Services Daylight saving time query) which was I received an answer for (thanks very much) but did not elaborate on the whole problem I am experiencing. Not only did I require the returned date time format to account for day light saving but I also need the search parameter @StartDate to allow for DST.
Currently if I key in a scheduled start time of 31/03/2010 11:00 and because the SQL DB has already taken the hours difference into consideration I get no results back. If I key in 31/03/2010 10:00 then the correct details are returned. Is there away using T-SQL or the like to get the search parameter to pass the adjusted time to the DB?
© Stack Overflow or respective owner