Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 16:03:40 -0700
From:      Tabor Kelly <pdxmax@dsl-only.net>
To:        "f.johan.beisser" <jan@caustic.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re[2]: Unable to Set Date
Message-ID:  <983893172.20010814160340@dsl-only.net>
In-Reply-To: <Pine.BSF.4.21.0108141547040.350-100000@pogo.caustic.org>
References:  <Pine.BSF.4.21.0108141547040.350-100000@pogo.caustic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I tried:

#date 0108141602
Tue Aug 14 16:02:00 PDT 2001

#date
Tue Aug 14 08:59:00 PDT 2001

Both this, and my earlier attempt were taken as examples out of the
man page.

On Tuesday, August 14, 2001, 3:49:16 PM, f.johan.beisser wrote:

On Tue, 14 Aug 2001, Tabor Kelly wrote:

> So, I just installed a new webserver and I am having trouble setting
> the date. Does anybody have any ideas? Did I (fatally) leave something
> out of the kernel?

to change the date, you may need to use a full timestamp. read the
date(1) man page for more info.

date, if given with a bad flag pops out with: 

[jan@hi chap1] {647} date -h
date: illegal option -- h
usage: date [-nu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]


-------/ f. johan beisser /--------------------------------------+
  http://caustic.org/~jan                      jan@caustic.org
   "if my thought-dreams could be seen..
       "they'd probably put my head in a gillotine"
             -- Bob Dylan



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?983893172.20010814160340>