From owner-freebsd-questions@FreeBSD.ORG Wed Jun 20 21:14:34 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D42A216A49A for ; Wed, 20 Jun 2007 21:14:34 +0000 (UTC) (envelope-from gore_jarold@yahoo.com) Received: from web63015.mail.re1.yahoo.com (web63015.mail.re1.yahoo.com [69.147.96.242]) by mx1.freebsd.org (Postfix) with SMTP id 6838713C4C9 for ; Wed, 20 Jun 2007 21:14:32 +0000 (UTC) (envelope-from gore_jarold@yahoo.com) Received: (qmail 30073 invoked by uid 60001); 20 Jun 2007 20:47:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tvKbhRdvO0Txt/w3OJ0aospPKb3be4T8gXASQjD8VAlUx6N+zYN7J+Iylzi4W5OJfzlF3GBjWhVT4wHcIxyXeFoceXg64r02KVSGRkIb1kNZIr6G4BtS6HoUuqeuSAeTemxtT7kZRU12By2NTazm0TNwgb75EteprdggBVXdt7c=; X-YMail-OSG: FFlr0pQVM1lSFtJqrE45XtaprZX_6t9Fn8YGbLAwJV9tD_HASm1.7PK5Zv3nLFb9l0eCNLQu5GlhDYNzIBxX10cq_A-- Received: from [71.63.232.32] by web63015.mail.re1.yahoo.com via HTTP; Wed, 20 Jun 2007 13:47:51 PDT Date: Wed, 20 Jun 2007 13:47:51 -0700 (PDT) From: Gore Jarold To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <925700.29847.qm@web63015.mail.re1.yahoo.com> Cc: Subject: freebsd version of 'data' for getting epoch time ... ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 21:14:34 -0000 If I have a arbitrary date/time and I want to convert that to epoch time, I do this with GNU date: date --date='1970-01-01 00:02:00 +0000' +%s Easy. Can someone tell me what the syntax is for FreeBSD date command ? ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7