FileDate
Details

- 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.
Examples
open all close allBasic Examples (1)
Scope (1)
Get the modification time of the file specified by the File object:
Tech Notes
Related Guides
History
Introduced in 1991 (2.0) | Updated in 2008 (7.0) ▪ 2014 (10.0) ▪ 2016 (11.0)
Text
Wolfram Research (1991), FileDate, Wolfram Language function, https://reference.wolfram.com/language/ref/FileDate.html (updated 2016).
CMS
Wolfram Language. 1991. "FileDate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/FileDate.html.
APA
Wolfram Language. (1991). FileDate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FileDate.html
BibTeX
@misc{reference.wolfram_2025_filedate, author="Wolfram Research", title="{FileDate}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/FileDate.html}", note=[Accessed: 13-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_filedate, organization={Wolfram Research}, title={FileDate}, year={2016}, url={https://reference.wolfram.com/language/ref/FileDate.html}, note=[Accessed: 13-August-2025]}