Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 1999 02:14:46 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        bunny <bunny@super.net.pk>
Cc:        freebsd <freebsd-questions@freebsd.org>
Subject:   Re: HOW TO CHANGE THE DATE IN UNIX
Message-ID:  <19990930021446.H317@marder-1>
In-Reply-To: <004701bf2dd3$4066ede0$f30582cb@intel>
References:  <004701bf2dd3$4066ede0$f30582cb@intel>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 13, 1999 at 05:33:04PM +0500, bunny wrote:
> Dear Sir, 
> I know this is the help site for FreeBSD. Please if you could just tell me on how to change the date in UNIX machine . I have tried all the methods. There is something which i am not doing right. If some one could help me I would really appreciate it.
> 
> Please give me an evample of Jan 13, 2000
> 

Checkout the manpage for date(1), but for the example above use (as root):

	date 0001131122.13

sets the time as well (11:22:13).

HTH

> Thanks alot
> 
> Bunny
> 

-- 
STATE-OF-THE-ART: Any computer you can't afford.
OBSOLETE: Any computer you own.
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.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?19990930021446.H317>