• You should use

    select dateadd(yy,-1,dateadd(d,-1,getdate()))