This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
touch run from DOS: time wrong
- From: luke dot kendall at cisra dot canon dot com dot au
- To: cygwin at cygwin dot com
- Date: Thu, 24 Oct 2002 11:35:45 +1000 (EST)
- Subject: touch run from DOS: time wrong
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/