From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chuck Campbell Subject: Re: comparing dates Date: Sat, 11 Oct 2003 18:03:09 -0500 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20031011230309.GA23393@helium.inexs.com> References: <20031010085408.GA11645@fede2.tumsan.fi> <20031010102521.GN7791@gx.nl> Reply-To: campbell@accelinc.com Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20031010102521.GN7791@gx.nl> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: admin On Fri, Oct 10, 2003 at 12:25:21PM +0200, Stefan Wimmer wrote: > * urgrue wrote on 10/Oct/2003 - 11:54:08 : > > anyone know an easy way to compare dates and display the difference? > > difference doesnt have to be in date format, in fact it would be even > > easier if it was just one unit, like "total diff in seconds" or > > nanoseconds or whatever, doesnt matter. Sys admin published an article on date handling via shell, perl (and some other option) recently. All the code they discussed is available on their site. You would have to search for it, as I don't have the url handy. Google for SysAdmin -chuck -- ACCEL Services, Inc.| Specialists in Gravity, Magnetics | 1(713)993-0671 ph. 2401 Fountain View | and Integrated Interpretation | 1(713)993-0608 fax Suite 320 | | Houston, TX, 77057 | Chuck Campbell | campbell@accelinc.com | President & Senior Geoscientist | "Integration means more than having all the maps at the same scale!"