> Yea this came from the lastModified function from the java.io.file. It
> is in milliseconds and like you I'm clueless how to convert. I've looked
> around the net but everything talks about using seconds not
> milliseconds.
You should be able to use the value returned by the lastModified() method of
a Java file object to create and instance of a java.util.Date object.
Something like:
createObject("java","java.util.Date").init(javaFileObject.lastModified())
I use this solution inside this CFC:
http://www.olimpo.ch/tmt/cfc/tmt_file_io/
----------------------------
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271976
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4