Re: sparc 20 workstation time
From: Juhan Leemet (juhan_at_logicognosis.com)
Date: 06/12/04
- Next message: Juhan Leemet: "Re: sparc 20 workstation time"
- Previous message: Ian Wilson: "Re: sparc 20 workstation time"
- In reply to: cljlk: "Re: sparc 20 workstation time"
- Next in thread: cljlk: "Re: sparc 20 workstation time"
- Reply: cljlk: "Re: sparc 20 workstation time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 12 Jun 2004 17:53:08 -0200
On Sat, 12 Jun 2004 15:19:14 -0400, cljlk wrote:
> I did exactely what manual page as below
>
> man date
>
> For example:
>
> date 10080045
>
> sets the date to Oct 8, 12:45 a.m. The current
Well, it's doing EXACTLY what you told it to do! Look at the man page
again (from one of my Solaris8 systems), esp. the line:
/usr/bin/date [ -u ] [ [ mmdd ] HHMM | mmddHHMM [ cc ] yy ] [.SS ]
(and read the explanations down below, for each of the fields). In your
case, you can leave out the optional "-u". You did put in the mmddHHMM,
which is good! However, you left off the "cc" and "yy"! Those fields are
for the (optional?) century and year. How was "date" supposed to guess
which ones you wanted? So, putting it all together:
date 100800452004
would have done what you wanted to do (the famous DWIM: do what I mean?).
You'll get the knack of reading man pages. Don't be too impatient.
-- Juhan Leemet Logicognosis, Inc.
- Next message: Juhan Leemet: "Re: sparc 20 workstation time"
- Previous message: Ian Wilson: "Re: sparc 20 workstation time"
- In reply to: cljlk: "Re: sparc 20 workstation time"
- Next in thread: cljlk: "Re: sparc 20 workstation time"
- Reply: cljlk: "Re: sparc 20 workstation time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|