From: Kabal AT ece DOT mcgill DOT ca (Peter Kabal) Subject: File dates: cygwin/Windows NT? 14 Nov 1998 00:52:28 -0800 Message-ID: <000001be0f1d$29738f60$f745ce84.cygnus.gnu-win32@ECE.McGill.CA> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: Basic Question: How does cygwin/Windows NT deal with timestamps for files? Under Unix, date stamps are seconds after a reference time, with the reference time being in GMT. As such, all timestamps are in GMT, and only the displayed version changes with the locale. What is the story under Windows? ------ Background: I synchronized some files in early October between a Unix file system (mounted using Samba) and local Windows files. Datestamps of the files on the Unix side (viewed from either Unix or the PC) and datestamps of the files on the PC side were the same. Now in November (after a shift from Daylight savings time to Standard time), the same files on the Unix side appear to be one hour newer than the files on the PC side. This is playing havoc with my attempt to synchronize files on the Unix system with the files on the PC system. (I use a Perl script mimicking the operations of the Unix remote distribution (rdist) program to download the files to the Unix system and synchronize the date stamps.) Peter Kabal Kabal AT ECE DOT McGill DOT CA (514) 398-7130 Electrical & Computer Engineering (514) 398-4470 (FAX) McGill University 3480 University Street Montreal, Quebec Canada H3A 2A7 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".