The "date" command is giving wrong results.

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Apr 26 08:04:00 GMT 2012


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



More information about the Cygwin mailing list