"dir" command gives wrong modification date

I am trying to get the modification time for a list of files that are contained in a single directory using the command "dir".
For each file I get a structure containing the modification date (string and number), but it doesnt match the modification time given by Window OS (as shown in explorer) of the modification time written inside the files itself - there is exatcly one hour shift.
What can cause it?

댓글 수: 3

per isakson
per isakson 2018년 3월 15일
I cannot reproduce this on Win7, R2016a
Did this ever get solved?
Cris LaPierre
Cris LaPierre 2021년 2월 16일
I'm also not able to reproduce, but any time I encounter a 1 hour time difference in a computer, I suspect it has something to do with daylight savings time.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

태그

질문:

2018년 3월 15일

댓글:

2021년 2월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by