How to get the date of creation of a file in a macro (and not that of the last modification)?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get the date of creation of a file in a macro (and not that of the last modification)?

Gelman, Laurent
Dear ImageJ users,

 

I am writing a macro where I would need to get the date of creation of
the opened file, not that of the last modification, which I have
otherwise with the File.dateLastModified(path) function.

Is there any way to do this?

 

Many thanks for your help,

 

Best regards,

 

Laurent.

 

______________________________________

Laurent Gelman, PhD

Friedrich Miescher Institut

Facility for Advanced Imaging and Microscopy

WRO 1066.2.16

Maulbeerstrasse 66

CH-4058 Basel

Tel.: 061 696 43 38 / Cell phone: 079 618 73 69

www.fmi.ch <http://www.fmi.ch/>  

 

 

 
Reply | Threaded
Open this post in threaded view
|

Re: How to get the date of creation of a file in a macro (and not that of the last modification)?

BenTupper
Hi,

On Jul 31, 2009, at 10:06 AM, Gelman, Laurent wrote:
>
> I am writing a macro where I would need to get the date of creation of
> the opened file, not that of the last modification, which I have
> otherwise with the File.dateLastModified(path) function.
>
> Is there any way to do this?



There is this recent exchange on the list that will shed light on the  
subject.

https://list.nih.gov/cgi-bin/wa?A2=ind0811&L=IMAGEJ&D=0&I=-3&P=2064

Cheers,
Ben

Ben Tupper