Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2003 09:58:09 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Dragoncrest <dragoncrest@voyager.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Write date/time to file?
Message-ID:  <3EFD9EF1.20603@potentialtech.com>
In-Reply-To: <5.2.0.9.2.20030628095709.00a05790@pop.voyager.net>
References:  <5.2.0.9.2.20030628095709.00a05790@pop.voyager.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Dragoncrest wrote:
>     HI all.  As part of the ongoing development of a spam tracking 
> script I'm writing, I'm looking for tidbits of information on how to do 
> certain things.
> 
>     My question today is simple.  What I need to know is what's the 
> command at the console to display date and time?  I'm looking for an 
> output similar to this:  Sat Jun 28 09:02:12 2003
> 
>     I'm sure it's something incredibly simple, but I've looked and I 
> can't find anything that would logically create something like that.  
> Many thanks in advance.

The command you're looking for is 'date'.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



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