universal time

Tomas TPS Ulej tps at tps.sk
Fri Sep 14 11:18:17 CEST 2001


Friday, September 14, 2001, 11:03:42 AM, you wrote:
DL> Tomas TPS Ulej wrote:
>> Mozno hrozne jednoducha vec ale ako zistim universal time ked mam CEST
>> (potrebujem kvoli accountingu urcitej sluzby ktora je citliva na
>> letny/zimny cas)

DL> date -ujf "%s" `date -ujf "%+" "Fri Sep 14 10:46:19 CEST 2001" "+%s"`

Failed conversion of ``Fri Sep 14 10:46:19 CEST 2001'' using format ``%+''
date: illegal time format
usage: date [-nu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
usage: date [-nu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]

DL> date -ujf "%+" "Fri Sep 14 10:46:19 CEST 2001"

Failed conversion of ``Fri 2001 Sep 14 10:46:19 CEST'' using format ``%+''
date: illegal time format
usage: date [-nu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]

DL>         ale ve skutecnosti to nejde. Proc, to nevim.

Mne zial nefunguje ani prve ani druhe ;(

btw.
# uname -r
4.2-RELEASE


--
Tomas TPS Ulej
Slovanet/ViaPVT Inc.
more? http://tps.slovanet.net




More information about the Users-l mailing list