http://www.perlmonks.org?node_id=99829


in reply to Totaling Time

if you have an oracle database, and are using date columns, then you can use PL/SQL to convert and do math on the dates (see "Datatype Conversion" section of the Fundamentals chapter of PL/SQL users guide).

then again if you aren't using oracle, this post is certainly not much help...