[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

date option -d returns incorrect time

From: Kevin Ivory
Subject: date option -d returns incorrect time
Date: Thu, 16 May 2002 10:09:07 +0200

The date option -d does not operate correctly or possibly
does not accept time zone CEST (which should be the same
as MESZ):

ivory1:~> time=$(date)
ivory1:~> echo "$time"
Wed May 15 18:04:04 CEST 2002
ivory1:~> date -d "$time"
Wed May 15 19:04:04 CEST 2002

CEST is two hours time difference from UTC.

Im am using SuSE 8.0 Linux with sh-utils-2.0-219.i386.rpm

Best regards
  _              |  Kevin Ivory          |  Tel: +49-551-37000041
 |_     |\ |     |  Service Network GmbH |  Fax: +49-551-3700009
 ._|ER  | \|ET   |  Bahnhofsallee 1b     |  mailto:address@hidden
Service Network  |  37081 Goettingen     |    http://www.SerNet.de/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]