There might be an easier way, but this works

SET VAR vyearenddate DATE = (RDATE(12,31,(IYR(ADDYR(.#DATE,-1)))))

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Bill Owens
Sent: Monday, February 28, 2011 3:18 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Calculate date

I would like to set a variable based on today's date (02/28/2011 to show 
December 31, 2010  (Last year December date)?
I always want to show Last December 31 date

Thanks

Bill


DISCLAIMER: This electronic message together with any attachments is 
confidential. If you are not the intended recipient, do not copy, disclose or 
use the contents in any way. Please also advise us by return e-mail that you 
have received the message and then please destroy. Evergreen Packaging is not 
responsible for any changes made to this message and / or any attachments after 
sending by Evergreen Packaging. We use virus scanning software but exclude all 
liability for viruses or anything similar in this email or any attachment.

Reply via email to