title: Calculate the last day of the prior quarter
body: <p>What's the most efficient way to calculate the last day of the prior quarter?</p>
  
  <p>Example:  given the date 11/19/2008, I want to return 9/30/2008.</p>
  
  <p>Platform is SQL Server </p>