Purpose
Read file properties
Solution
Use a JavaScript or a VB function.

Example 1
The following JavaScript function sets the file size, creation date, "last modified" and "last accessed" date into GuiXT variables. It uses the ISO format for date and time:

JavaScript

GuiXT script:

GuiXT

CallJS found = get_file_info "&V[myfilename]"   

 

Example 2
If you prefer to get the date in the local time zone and in a different format, for example YYYY-MM-DD hh:mm:ss, use the following functions:

JavaScript

 

Components
InputAssistant + Controls