I have got a piece of code that calculates the current DateTime from a
DateTime in the past. I want to display the elapsed total in both hours and
minutes. When the value goes above 1 hour it displays 1 hr, 60 min instead
of 1 hr, 0 min. How do I get it to correctly show that?
Current code:
#Abs(DateDiff("h", get_date.sdate1, CreateODBCDateTime(Now())))# hrs,
#Abs(DateDiff("n", get_date.sdate1, CreateODBCDateTime(Now())))# min
James
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists