- Dec
- 57
- 3
I wanted to set the time and date of a file to something that would make it obvious if the file was modified. So I used the command:
touch /d1-1-2018 /t1:01 filename
But this resulted in a file with a timestamp of 12:01, not 1:01. In order to get a file with a timestamp of 1:01 I had to use 2:01 in the Touch command.
Why is Touch off by an hour?
Using TCC standalone v 22.00.40, but I have noticed this in earlier versions as well.
touch /d1-1-2018 /t1:01 filename
But this resulted in a file with a timestamp of 12:01, not 1:01. In order to get a file with a timestamp of 1:01 I had to use 2:01 in the Touch command.
Why is Touch off by an hour?
Using TCC standalone v 22.00.40, but I have noticed this in earlier versions as well.