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

Re: Daylight Savings Time problem



>   516  date -u -s 0413150496

#       date  [-u] [-d datestr] [-s datestr] [--uct] [--universal]
#       [--date=datestr] [--set=datestr]   [--help]   [--version]
#       [+FORMAT] [MMDDhhmm[[CC]YY][.ss]]

#        -s datestr, --set datestr
#              Set the time and date to datestr, which can  be  in
#              almost  any  common  format.   It can contain month
#              names, timezones, ` am' and `pm', etc.

This means that you can let date print out any Date which you have specified
with [MMDDhhmm[[CC]YY][.ss]] but have to give readable Formats with -d or -s:
(I think the MMDD... Format should be included to be understand by date -s)

$ date 0413150496
Sat Apr 13 15:04:00 MET DST 1996

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )  ecki@lina.{inka.de,ka.sub.org}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy



Reply to: