How Can We Help?
< All Topics
How do I get the “Last Modified” date of a file?
UpdatedJune 27, 2022
The Variable Set from File command will obtain the date and time of the file you specify and save the information into Integer variables. There are three different time frames to choose from, based upon what you need to compare.
- Creation Date/Time – The date and time that the file was originally created.
- Modified Date/Time – The date and time that the file was last modified or updated and saved.
- Last Accessed Date/Time – The date and time that the file was last accessed or opened.
Note: Not all file systems will support all three of these date/time formats. Macro Express will warn you when you try to run the macro if the format you selected is not available.
– Applies to: Macro Express and Macro Express Pro