freebsd version of 'data' for getting epoch time ... ?

Gore Jarold gore_jarold at yahoo.com
Wed Jun 20 21:14:34 UTC 2007


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 




More information about the freebsd-questions mailing list