RE: date subtraction

2004-11-18 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Bob Showalter) writes: >Vladimir Lemberg wrote: >> ... >> Seq:1 Sat Nov 13 21:57:34 PST 2004 >> Seq:2 Sat Nov 13 22:05:17 PST 2004 >> Seq:3 Sun Nov 14 03:42:01 PST 2004 >> Seq:4 Sun Nov 14 21:57:34 PST 2004 >> >> I need to subtract dates to know

RE: date subtraction

2004-11-17 Thread Bob Showalter
Vladimir Lemberg wrote: > ... > Seq:1 Sat Nov 13 21:57:34 PST 2004 > Seq:2 Sat Nov 13 22:05:17 PST 2004 > Seq:3 Sun Nov 14 03:42:01 PST 2004 > Seq:4 Sun Nov 14 21:57:34 PST 2004 > > I need to subtract dates to know how long each Seg took time. Is > there any way to convert dates back to timestamps

Re: date subtraction

2004-11-16 Thread Chasecreek Systemhouse
On Tue, 16 Nov 2004 22:34:40 -0500 (EST), Chris Devers <[EMAIL PROTECTED]> wrote: > This is a FAQ -- if this description doesn't make clear how to do it, > there's plenty of code out there that will show you how it works. There are also a ton of date "math" modules out there on search.cpan.org

Re: date subtraction

2004-11-16 Thread Chris Devers
On Tue, 16 Nov 2004, Vladimir Lemberg wrote: > Could you advise me how can I subtract two dates? Convert the dates to seconds (i.e. however many millions of seconds since the Unix epoch began on 1 Jan 1970), then do the arithmatic on the two numbers you get, then convert the result to a more fa