Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3D3DDCD1.D8239BE2@noaa.gov> Date: Tue, 23 Jul 2002 18:46:41 -0400 From: "Arthur Taylor" Organization: DOC/NOAA/NWS - National Weather Service X-Sender: "Arthur.Taylor" X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Date Time Stamps? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is a weird one... I have a file in: d:\cygwin\home\tayloraa\etc\newRock\labels.doc According to an MS-command prompt its date is: 3/12/2002 10:06p According to a "ls -l" from a cygwin bash shell its date is: Mar 12 21:06 There seems to be a one hour discrepancy, probably due to Daylight savings. My D drive is an NTFS drive on a Win-2k machine, with a fairly recent version of cygwin. I ran into this when working with: puts [clock format [file mtime $file] -format "%D %T"] in various versions of Tcl. According to cygtclsh its mtime is 3/12/02 21:06:24, however according to tclsh (based on Mumit Khan's work) its mtime is 3/12/02 22:06:24. Plain old MS-Windows based Tcl/Tk (8.3.2) weighs in on the side of 3/12/02 22:06:24. Any suggestions as to the cause of the discrepancy? -- 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/