Get File/Folder Date

   

 

This action will get the Modified Date of the specified file or folder and put it in a variable.

 

FileFolderDate

 

File/Directory Name

 

Specify the file or folder name to retrieve the modification date. The action will fail if the file does not exist.

 

 

Store Date in Variable

 

Optionally, choose a variable to store the date in. The date will be stored as a formatted date/time string.

 

 

Modification Date As Object

 

If you wish to access the date as an object, you can use the OnGetDate script event.

 

For VBScript, you can use Date functions directly to operate on the ModifiedDate parameter:

 

FileFolderDate_OnGet_VBScript

 

 

For JavaScript, you need to create a new JavaScript Date object to wrap the ModifiedDate parameter:

 

FileFolderDate_OnGet_JScript