Hi, If I have a set date, and want to create date variables that are, 1 month, 2 month 6 month before that set date, is there a function that will be able to get me that? for example: set_date = 12DEC11 i want to create a new var with date 1 month before the set_date: set_date_last_1mth = 12NOV11 ; 2 months: set_date_last_2mth = 12OCT11 ; is there a simple way to do this? currently I use set_date_last_1mth = set_date - 30 ; -60 -120 etc. which isnt entirely accurate or the best way to do this. Thanks for your help.
... View more