touch run from DOS: time wrong

luke.kendall@cisra.canon.com.au luke.kendall@cisra.canon.com.au
Wed Oct 23 19:48:00 GMT 2002


I just discovered, by writing a touch.bat file that runs cygwin's
touch.exe, that if you specify a date and time, the time set on the
file is 1 hour earlier than it should be.

touch.exe run from within Cygwin sets the time correctly.

I.e. %CYGDRIVE%\cygwin\bin\touch 0830091502 xxx
sets xxx to have a file modification time of 8:15am instead of 9:15am.

NB: In Sydney Australia this weekend, we'll be setting our clocks
forward one hour.  Might be relevant.

luke


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list