Anyone knows if it exists any builtin function or any other way to get the
system date with GNU format?

I use the system function, but when I exec it I get 2 hours less than
real system date:

C:\>perl -e "$time=time; print $time;"
1018541088

C:\>c:\cygwin\bin\date +%s
1018541091

C:\>c:\cygwin\bin\date
Thu Apr 11 16:05:24  2002

C:\>time /T
18:04


As you can see cygwin also gives 2 hours less of real time.

I also need a command to show a given date in GNU format so I can
compare the system date to a given one with just $time1 > $time2. Or is
there a module with functions that compare dates?

thx in advance.

m4c.

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to