Hey,
Yes it is the same effect for DATEDIFF()
. For an arithmatetic function like DATEDIFF()
, it will have the same result, as the math is still taking into account the same unit: whether it's for day
or dayofyear
they are both still in days.
Similar thread :
https://dba.stackexchange.com/questions/18065/sql-server-datediff-hows-dayofyear-different-from-day