[Q] Simplest way to access the file modification date
Hannes Hirzel
hirzel at spw.unizh.ch
Fri Mar 15 12:42:16 UTC 2002
On Fri, 15 Mar 2002, Hannes Hirzel wrote:
> Hi
>
> What is the simplest way to access a file modification date of a file?
[snip]
> The last time I worked with this I did some workarounds. Are there now
> better solutions I'm not aware of?
>
>
Well I refound a solution:
((FileDirectory on: aPath) entryAt: fileName) modificationTime
gives back the modification time in seconds.
HJH
More information about the Squeak-dev
mailing list
|