DatePart(interval,date) For quarters, the interval will equal "q". This is based on the calendar year. It will return a number: 1, 2, 3 or 4. Intervals also include weeks, "ww", which returns a number from 1 to 52.
Example: YourDate is 1/23/03...
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.