| Syntax |
file.modified (path)
|
| Params |
path is a legal path name to the file or folder whose most recent modification date you wish to determine.
|
| Action |
Determines when the file was most recently changed.
|
| Returns |
The date the file was last modified.
|
| Examples |
file.modified ("C:\\Program Files\\Frontier\\sample.txt")
» "12/9/97; 4:07:54 PM"
number (file.modified ("C:\\Program Files\\Frontier\\sample.txt"))
» -1330438822
file.modified ("System:System Folder:System")
» 8/13/91; 7:13 AM.
number (clock.now () - file.modified ("System:System Folder:System"))
» 19857 // Number of seconds since the file was modified
|
| Notes |
If you ask Frontier to display the return value from this verb as a number, it returns the number of seconds after midnight, January 1, 1904, that elapsed before the file's last modification date.
|
| See Also |
file.created
file.setModified
file.setCreated
|