This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The "date" command is giving wrong results.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]