Normal Topic Program Retrive Spec for the last six months, (Read 324 times)
drastixnz
Full Member
***
Offline


A Newbie....

Posts: 146
Location: New Zealand
Joined: Nov 29th, 2006
Program Retrive Spec for the last six months,
Sep 6th, 2007 at 2:51am
Print Post Print Post  
Hi all,

I have this, and i know it is o so wrong, it works for last month but no matter I cant get it working for the last six months,

{ @Left(Date Completed, 7) = @Left(@Date - @Dom(@Date), 7) }


What have i done wrong

Drastixnz
  
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Program Retrive Spec for the last six months,
Reply #1 - Sep 6th, 2007 at 3:03am
Print Post Print Post  
1 year = 365.25 days
6 months = .5 yrs = 182.625 days

Completed in the Last 6 Months = {DateCompleted >= @Date - 182.625}
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged