My Clock Is Confused
Gregory Nowak
greg at romuald.net.eu.org
Mon Oct 6 16:31:13 EDT 2003
Thanks, that's a bit less combersum. Guess date is still a mystery
even to non-newbies (grin).
Greg
On Mon, Oct 06, 2003 at 04:29:50PM -0400, Jacob Schmude wrote:
> Hi
> Actually, there is a way to do it separately. Use the s switch to date. The format is:
> date -s year-mm-dd
> to set the date. Taking your provided example, it would look like:
> date -s 2003-10-06
> After that, you set the time in 24-hour format like this:
> date -s hh:mm:ss
> Again, taking your example, you would use:
> date -s 14:40
> Note that specifying the seconds is not necessary, but you can if you want. I've often found this easier than combining the two, especially when I only need
> to set one of them.
> HTH
--
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
More information about the Speakup
mailing list