Breaking loops

Breaking loops

Hi Zoho and everyone, 

how can I create loops based on variables?

for example:

Date = zoho.currentdate();
End_Date = zoho.currentdate().addYear(1);
for Date<End_Date 
{ ........
Date =Date.addMonth(1);
}


?

Thanks!

Ravid