dDate=DATE()
dExpDate=GOMONTH(dDate,12)
Works every time :-) ... and you can use it in apps before VFP 6.0 (I dunno who thought that was true but it's not).
>HI,
>I need to add 1 or more year to the start date in a lease application. I use dStartdate + 365 but it does not work for leap years. I coul do something like YEAR(dStartdate) MOD 4 but I was wandering if there was not a simpler method.
>
>Thank you,
>Christian
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05