gives the date and time at which a file was last modified.
gives information on the specified type of date associated with a file.
- FileDate returns the date and time as a DateObject.
- Possible types of dates are:
"Access" when the file was last accessed "Change" when the file's attributes were last changed "Creation" when the file was originally created "Modification" when the file was last modified "Rules" a list of rules for all types of dates
- FileDate[File["file"]] is also supported.
Examplesopen allclose all
Basic Examples (1)
Get the modification time of the file specified by the File object:
Wolfram Research (1991), FileDate, Wolfram Language function, https://reference.wolfram.com/language/ref/FileDate.html (updated 2016).
Wolfram Language. 1991. "FileDate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/FileDate.html.
Wolfram Language. (1991). FileDate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FileDate.html