You could use the DateDiff function to get the difference between your target date and the beginning of the year such as :
datediff("d","01/01/2003","03/31/2003" + 1 or
datediff("d","12/31/2002","03/31/2003"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.