filedatenum
Version 1.0.0.0 (1.37 KB) by
Charles Plum
Returns the modification date (datenum) of a file
Purpose: Returns the modification date (datenum) of a file
Usage: file_datenum = filedatenum('myfile.dat')
Author: Charles Plum, Varolii Corp, 21 August 2009
Not elegant but it works ...
Had to check for files in a loop ...
written in haste but really does the trick ...
could not find a similar Matlab function.
to get a more readable date just say ...
datestr(filedatenum('myfile.dat'))
Cite As
Charles Plum (2024). filedatenum (https://www.mathworks.com/matlabcentral/fileexchange/25120-filedatenum), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Dates and Time in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |