>> starting from a certain month, eg
Set your intial date, set your max date, loop round incrementing the
month by one using dateAdd
<cfscript>
startDate = createDate(2003, 03, 01);
endDate = now();
thisDate = startDate;
while (dateCompare(thisDate, endDate, "m") lt 1) {
writeoutput(MonthAsString(Month(thisDate)) & " " &
Year(thisDate) & "<br />");
thisDate = dateAdd("m", 1, thisDate); //Increment month
}
</cfscript>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

