<cfset filePath = "#application.domainname#/sections/uploads/xfer/datatrac.csv"> <cfset fileObj = createObject("java","java.io.File").init(filePath)> <cfset fileDate = createObject("java","java.util.Date").init(fileObj.lastModified())> <cfoutput>File Last modified date:#dateformat(fileDate,'mmmm d yyyy')#</cfoutput>
even i tried with this, it's not printing. >datelastmodified is there in that, but why it is not printing that?. > > >>>Adrian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324289 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4