Andrew K. Posted June 28, 2007 Share Posted June 28, 2007 Okay so I'm building this mini event system and I'm listing out all these like events into a page. So I was hoping to bold dates that are closer than a week away.I have this little snippet of code and I was wondering what exactly to write instead of the bolded red text. I don't have much knowledge when it comes to manipulating dates. <cfloop query="loopquery"> <cfif date of day 7 days away gte alertdate> <li><b>#alertinfo# - Due #dateformat(alertdate, 'MMMM DD YYYY')#</b></li> <cfelse> <li>#alertinfo# - Due #dateformat(alertdate, 'MMMM DD YYYY')#</li> </cfif></cfloop> Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.