Write date/time to file?

Dragoncrest dragoncrest at voyager.net
Sat Jun 28 06:51:47 PDT 2003

	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.

More information about the freebsd-questions mailing list