"EXT-Moore, Kirk W" wrote:
I am in need of some advice.... I am trying to figure out a way to take a specific date and convert it to the unix time. i.e.... 07/15/99 and convert that to the unix time for that specific date lets say at noon. I have pondered this... and am at a lose....
I am talking about the time that started 1/1/70... ( I believe....)
To take the current date/time and output it in 'Unix time': date +%s or to take a certain date (for example midnight on the 6th of May): date -d '6 May 2000' +%s See 'man date' for more information. Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/