X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 26 Apr 2012 10:03:20 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: The "date" command is giving wrong results. Message-ID: <20120426080320.GA28119@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Apr 25 16:28, Rodrigo Medina wrote: > Hi, > The command "date" is giving wrong results: > > In cygwing-bash: > $ date > Jue, 26 de Abr de 2012 06:27:24 a.m. > > While in the Windows command shell: > > C:\Documents and Settings\rmedina>time > The current time is: 15:57:24.24 > > > C:\Documents and Settings\rmedina>date > The current date is: 25/04/2012 What's your Windows timezone set to (the actual timezone text in the "Date and Time" control panel? And what is Cygwin's $TZ set to? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple