yeah, i sort of got going with something similar;

<cfset startmonth="4">
<cfset startyear="2003">

<cfloop from="#startyear#" to="#dateformat(now(),"yyyy")#" index="y">

<cfloop from="#startmonth#" to="12" index="i">
#dateformat('#i#/1/#y#',"mmmm yyyy")#<br />
</cfloop>

<cfset startmonth = 1>

</cfloop>

On Mon, 9 Aug 2004 10:14:28 -0400, Tangorre, Michael
<[EMAIL PROTECTED]> wrote:
> Not sure exactly what you are doing, but might spark some ideas...
>
> <cfloop from="1" to="12" index="x">
>         #MonthAsString(x)#
> </cfloop>
>
> Michael T. Tangorre
>
>
>
> > I'm having a monday morning (afternoon) brain melt down...
> > I want to programmatically create a consecutive list of
> > months/dates starting from a certain month, eg
> >
> > March 2003
> > April 2003
> > May 2003
> > June 2003
> > ..
> > ..
> > ..
> > July 2004
> > August 2004
> >
> > up to the current month...I can't think for the life of me
> > where to start...
> >
> > thanks,
> >
> > jb.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to