You just need to increment the year. Enrico's method fails if "next year" is a leap year and the date sought is after February. This is sensitive to the date format you have set...
dThisOne := date()
dThatOne := CTOD( str( month( dThisOne )) + "-" + ;
str(day( dThisOne )) + "-" +;
str(year( dThisOne + 1 )) )
Maybe something safer derived from Clipper Tools using STOD and PADLEFT...
dThisOne := date()
dThatOne := STOD( PADLEFT( str( year( dThisOne + 1 )), "0") +;
PADLEFT(str( month( dThisOne )), "0") +;
PADLEFT(str( day( dThisOne )), "0") );
Coded in my head, not tried.
David A. Smith