Hello there.I want to use the datediff function but i also require a variable which will be the month.so i have created the following stored proc.alter proc RenewalDateTest@month varchar(2)asdeclare @date datetimedeclare @current datetimeselect @date = (select convert(varchar(4),datepart(year,getdate()))+'-'+@month+'-'+convert(varchar(2),datepart(day,getdate()))+' '+'00:00:00.000')select @current = (select getdate())select datediff(day,@date,@current)goexec RenewalDateTest 3result = 1900-05-03 00:00:00.000my question is why am i not getting a datediff in days.[code]