try doubling your quotes. since you're populating an HTML element, you need to escape them.
<input type="hidden" NAME="lastModified" VALUE="#dateFormat(date, ""mm/dd/yyyy"")#"> christopher olive, cto, vp of web development cresco technologies, inc 410.825.0383 http://www.crescotech.com -----Original Message----- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 1:46 PM To: CF-Talk Subject: date time problem I have a form with a hidden field like below, and I keep getting an error when tring to insert <cfset date = Now()> <input type="hidden" NAME="lastModified" VALUE="#dateFormat(date, "mm/dd/yyyy")#"> INSERT #dateAdd( "d", "0", "#lastModified#" )# <CF_SIGNATURE NAME="Douglas L. Brown" EMAIL="[EMAIL PROTECTED]" PHONE="714.538.6611" WEB="http://www.carnivorepc.com"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm 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

