www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/02/12:34:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <000701bf2558$5cc7a200$8500010a@chstr-fjs-04669>
From: "fswinnerton" <fswinnerton AT breathemail DOT net>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: 'date' command in Cygwin
Date: Tue, 2 Nov 1999 17:33:20 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700

------=_NextPart_000_0004_01BF2558.5B68AE40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am running Cygwin on my Windows 95 PC haveing installed the binary =
distribution. Last week I ran the 'date' command and found that the time =
reported was 1 hour earlier than it should - ie it was reporting GMT =
rather than taking account of Daylight Saving (BST). As our clocks have =
now gone back the time is correct but only because it defaults to GMT. =
Next Spring it will all go horribly wrong again!

The Cygwin date command gives -> Tue Nov  2 17:31:16  1999
whereas the MKS Toolkit gives    -> Tue Nov  2 17:31:48 GST 1999

How can I get Cygwin 'date' to recognize the timezone on a Win95 (or =
NT4) machine?

Regards,

Frank Swinnerton

------=_NextPart_000_0004_01BF2558.5B68AE40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3612.1706"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I am running Cygwin on my Windows 95 =
PC haveing=20
installed the binary distribution. Last week I ran the 'date' command =
and found=20
that the time reported was 1 hour earlier than it should - ie it was =
reporting=20
GMT rather than taking account of Daylight Saving (BST). As our clocks =
have now=20
gone back the time is correct but only because it defaults to GMT. Next =
Spring=20
it will all go horribly wrong again!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>The Cygwin date command gives -&gt; =
Tue=20
Nov&nbsp; 2 17:31:16&nbsp; 1999<BR></FONT><FONT color=3D#000000 =
size=3D2>whereas the=20
MKS Toolkit gives&nbsp;&nbsp;&nbsp; -&gt; Tue Nov&nbsp; 2 17:31:48 GST=20
1999<BR></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>How can I get Cygwin 'date' to =
recognize the=20
timezone on a Win95 (or NT4) machine?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Regards,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Frank =
Swinnerton</FONT></DIV></BODY></HTML>

------=_NextPart_000_0004_01BF2558.5B68AE40--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019