Expand my Community achievements bar.

Getting the oldest folder from a umber of subfolders

Avatar

Level 8
Level 8

Hi there,

I need to find the oldest folder from a number of subfolders.

How do I do taht if it is possible with the file-services in foundation?

Thanks in advance

Kim

1 Reply

Avatar

Former Community Member

You will have to use a Custom Script and the Java IO File API. The lastModified() method returns the time the file was modified.

Steve