Results 1 to 2 of 2

Thread: Datepart???

  1. #1
    Join Date
    May 2003
    Posts
    25

    Unanswered: Datepart???

    OK, I need to process info from my database in quarterly increments...

    I think there is a datepart function to do this but I am not sure..

    I need to determine what quarter it is and assign it to a declared variable
    named @QuarterInfo

    Any suggestions?

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    datepart("q",yourdatetime)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •