From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 06:51:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B394537B401 for ; Sat, 28 Jun 2003 06:51:46 -0700 (PDT) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [65.194.254.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E593D4400E for ; Sat, 28 Jun 2003 06:51:45 -0700 (PDT) (envelope-from dragoncrest@voyager.net) Received: from works.voyager.net (bsdbox [192.168.0.3])h5SA4XW6052570 for ; Sat, 28 Jun 2003 10:04:33 GMT (envelope-from dragoncrest@voyager.net) Message-Id: <5.2.0.9.2.20030628095709.00a05790@pop.voyager.net> X-Sender: dragoncrest@pop.voyager.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sat, 28 Jun 2003 10:01:01 -0400 To: freebsd-questions@FreeBSD.ORG From: Dragoncrest Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Write date/time to file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2003 13:51:47 -0000 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.