[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Date problem
You can do
Let $Date = dateadd($Today,'day',-7)
Rhiain
At 09:22 AM 5/2/02 -0400, you wrote:
>Hello all,
>
>I have a problem that I hope someone out there can help me with. I need to
>make a program that gets a date in the DD-MON-YYYY format of 7 days prior
>from the current date. ie. Today's date id 02-MAY-2002, I need to get
>25-APR-2002. Anyone have any idea how this can be done. Thank you in
>advance.
>
>ERIK SIRADAS
>PROGRAMMER/ANALYST
>STATE UNIVERSITY OF NEW YORK COLLEGE AT BROCKPORT
>
>
>_________________________________________________________________
>Join the world's largest e-mail service with MSN Hotmail.
>http://www.hotmail.com