On Wed, Jul 07, 2004 at 01:10:08AM -0500,
D Richards <[EMAIL PROTECTED]> wrote:
> 
> I've just reinstalled debian hamm on my new 2.5 gig HD with no problems.  
> Except I can't seem to understand the correct syntax for setting my system 
> date and time using 'date'.
> 
> Can anyone give me an example with an explanation
> 
> TIA
> 
> Duane Richards 

The GNU date command is pretty smart. You can use most common date
formats with the -s option. For example, date -s 'Mar 1 8:55am 1999' is
the same as date -s '3/1/1999 8:55:00'.

-- 
/-----------------------------------------------------------\
|  Eric Gillespie, Jr.        |  [EMAIL PROTECTED]       |
|----------------------------<*>----------------------------|
| "Between depriving a man of one hour from his life and    |
|  depriving him of his life there exists only a difference |
|  of degree."                                              |
|  --Emperor Paul Muad'dib (Frank Herbert's Dune Messiah)   |
\-----------------------------------------------------------/

Reply via email to