Ok, this works for now. I added some looping and here's waht I came up
with:
<cfoutput>
<cfloop index = "offset" from="0" to="12">
<cfset offsetDate = DateAdd("m", offset, Now())>
<cfif offsetDate eq Now()>
<td width="43%" class="nbheader">
Fiction #year(offsetDate)#</td></tr>
</cfif>
<cfif month(offsetDate) eq 1>
<td width="43%" class="nbheader">
Fiction #year(offsetDate)#</td>
</tr>
</cfif>
<td width="43%" class="copyTeal">#DateFormat(offsetDate, "mmmm
yyyy")#</td> </tr> </cfloop>
</cfoutput>
http://209.41.188.62/books/comingSoon.cfm
Now, I wonder if it will work for a different month than September..
hahaah
Candace K. Cottrell, Web Developer
The Children's Medical Center
One Children's Plaza
Dayton, OH 45404
937-641-4293
http://www.childrensdayton.org
[EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 09/24/02 20:23 PM >>>
> And here you're saying, if the resulting month is January, print the
> heading.
Exactly! Let us know if you have any problems.
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists