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 familiar format. 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. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>