Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2000 00:55:49 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Tyler Spivey <tyler@wapvi.bc.ca>
Cc:        Dima Dorfman <dima@unixfreak.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: setting the system date
Message-ID:  <20000731005549.A13696@dan.emsphone.com>
In-Reply-To: <Pine.LNX.4.10.10007302236010.31552-100000@viper.wapvi.bc.ca>; from "Tyler Spivey" on Sun Jul 30 22:36:09 GMT 2000
References:  <20000731022515.33BCE1F17@static.unixfreak.org> <Pine.LNX.4.10.10007302236010.31552-100000@viper.wapvi.bc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 30), Tyler Spivey said:
> i like linux date better

hmm. Linux date manpage:
 
 date [OPTION] [MMDDhhmm[[CC]YY][.ss]]

FreeBSD date manpage:

 date [[[[[cc]yy]mm]dd]HH]MM[.ss]]

Apart from putting the date parts in a different order (note that
FreeBSD puts larger units to the left, while Linux sort of scatters
them around), it's the same command.

But you shouldn't ever have to use the date command if you're hooked up
to the Internet.  Just use ntpdate and synch to a time server.  In your
case, you can simply use your email server:  "ntpdate wapvi.bc.ca".

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000731005549.A13696>