Is it possible to determine when a file or folder was last modified?


#1

Is it possible to determine programmatically from Panorama X the date on which a file or folder was last modified?


#2

Yes, for files: http://www.provue.com/panoramax/help/function_fileinfo.html


#3

Of course! Thanks Kurt - it’s a pity that there’s no folder equivalent but I can work with this.


#4

fileinfo( works for files or folders.


#5

Probably easier to use than fileinfo( is the filesuperdate( function. I believe this also works with folders. If you just want the date (not the time) then you can use the regulardate( function to extract that.

FYI, the filesuperdate( function was also available in Panorama 6.