1

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

select dateadd(day, datediff(day, 0, date2), date1 - datediff(day, 0, date1)) 
from (select getdate() date2, cast('2012-01-01 20:00' as datetime) date1) a

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results