Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Date time calculations

Quote Reply
Date time calculations
I need to substract two dates in the format 'YYYY-MM-DD HH:MM:ss' from each other and get the result in the format 'days HH:MM:ss'.

I have tried to write various globals (taking two datetime arguments) using date_sub, but it ignores the HH:MM:ss and is therefore not useful.. I have read through the GT::Date documentation without much luck - any help / hints highly appreciated.



Anders
Subject Author Views Date
Thread Date time calculations vespa180 2183 Oct 29, 2003, 6:54 AM
Thread Re: [vespa180] Date time calculations
604 2113 Oct 29, 2003, 11:02 AM
Thread Re: [TheStone] Date time calculations
vespa180 2104 Oct 30, 2003, 7:14 AM
Post Re: [vespa180] Date time calculations
604 2093 Oct 30, 2003, 10:55 AM