Is this for filter or display?
If for filter then instead of performing a filter on a calculation, calculate the target date first. For example, say you have a bugbase and you want to find open issues that are more than 2 months old, filter on "WHERE LastDate <= @TargetDate" and in .NET set @TargetDate to DateTime.Now.AddMonths(-2).
If it's for display, then do the calculation in .NET when formatting the data.
HTH,
Sam
We're hiring! B-Line Medical is seeking .NET Developers for exciting positions in medical product development in MD/DC. Work with a variety of technologies in a relaxed team environment. See ads on http://careerbuilder.com.