• What do you mean? Output of 21?

    In your code there's a ")" missing. Like this:

    select 21/(datediff(dd,getdate(),getdate()))

    But it's no good anyway.

    This code will give you 21 as output but I'm quite sure this is not what you mean:

    select (datediff(dd,getdate(),getdate()) + 21)