近6月(近180天)

select field1,field2 from tablename where datediff(dd,field,GETDATE())<=180
select field1,field2 from tablename where DTime>dateadd(mm,-6,getdate())