Timestamp of files in a folder.
Afficher commentaires plus anciens
Hi,
I have a a given number, nb, of file in a folder, how can I extract the timestamp of every file in the folder? What's the easiest way to do it? Filenames are such as filename_001 to filename_nb.
D = finename); TimeStamp = {D.datenum}; enables to extract the data of a file.
Many thanks,
Kent
Réponse acceptée
Plus de réponses (1)
Kent,et
le 13 Jan 2015
0 votes
2 commentaires
Titus Edelhofer
le 13 Jan 2015
Then please mark the question as answered ...
Titus
supernoob
le 2 Oct 2018
Hi Titus, Dir() returns the modification time with second precision, is there any way to get ms precision?
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!