> 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")#
Why not do #DateFormat(DateAdd("m", 1, Now()). "MMMM -- YYYY")# ? Hatton ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189001 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54