Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2007 13:47:51 -0700 (PDT)
From:      Gore Jarold <gore_jarold@yahoo.com>
To:        questions@freebsd.org
Subject:   freebsd version of 'data' for getting epoch time ... ?
Message-ID:  <925700.29847.qm@web63015.mail.re1.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 





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