[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: date --set





On 10/23/05, Simo Kauppi <swk@nic.fi> wrote:
On Sun, Oct 23, 2005 at 12:55:20PM +0200, Joachim Fahnenmüller wrote:
> Hi everybody,
>
> I want to set the date using date --set .
> The man page says --set=STRING but does not tell the format.
> What must STRING be if I want e. g. Oct 23 2005, 12:54 h?

try:
$date -s 0510231254

Meni

>
> THX
> --
> Joachim Fahnenmüller

For example:
date --set="10/23/05 12:54:00"

There are many different possibilities for the STRING. See info
coreutils (27 Date input formats) for details.

Simo
--
:r ~/.signature


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDW3CN4RQe7Exc22QRAgArAJ9ZJq/kfiKKbuUaLmpqO3p8AkXEbwCffb5/
8Gplz7K2zatHTgQ/94zckvc=
=PjF8
-----END PGP SIGNATURE-----





--
--
Meni Szapiro
Reply to: