Thanks all! -----Original Message----- From: Ben Rogers [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 12:00 PM To: CF-Talk Subject: RE: Check for next year
<cfset theDate = dateAdd("m", 1, now())> <cfoutput> #month(theDate)# -- #year(theDate)# </cfoutput> You can wrap month() in monthAsString() if you want to display the name of the month rather than the month as a number. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 > -----Original Message----- > From: Robert Orlini [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 30, 2004 11:53 AM > To: CF-Talk > Subject: Check for next year > > I have a popup that will display one month in advance. > > The issue I have is that users can view January, but the display still > reads "January 2004". I have the month and year formatted below. > > How can I check and/or display the year 2005? The dateformat below does > not take that in consideration. > > Thanks! > > Report for month of: #month# -- #dateformat(now(), "yyyy")# > > Robert O. > HWW > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189006 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54