<cfset fileList = "datatrac.csv,datatrac-ag.csv"> <cfoutput> <cfloop list="#fileList#" index="page"> <cfdirectory action="list" directory="#application.domainname#\sections\uploads\xfer\" filter="#page#" name="qGetLastdateModified"> #page# was last modified on : #DateFormat(qGetLastdateModified.dateLastModified, "mm/dd/yyyy")#<BR> </cfloop> </cfoutput>
i am wrikting this query but i am not able to see date, for me just i am able to see till this ( #page# was last modified on :), after this modified date is not printing, why it is happening like this, is there any thing wrong in this code? ><cfdirectory action="list" ... /> > >will return a query object listing all of the files. if you do a <cfdump> >of that query, you'll see the dateLastModified as one of the available >columns. > >On Tue, Jul 7, 2009 at 2:38 AM, RamaDevi Dobbala <ramadobb...@gmail.com>wrote: > >> >> I need help on this, can any one tell me that, how can i get the last >> modified date of a file, because every day my file is going to update i.e >> some scheduler is runnign for that.Just i need last modified date of that >> file. >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:324282 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4