I think you probably looking for the DateDiff function. You can pass in two date/time objects and get the difference in days, hours, minutes, seconds, or whichever you prefer.
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/comm on/html/wwhelp.htm?context=ColdFusion_Documentation&file=00000440.htm -----Original Message----- From: Love Sponge [mailto:[EMAIL PROTECTED] Sent: Monday, February 27, 2006 11:29 AM To: CF-Talk Subject: Re: Time Calculations Could you be a bit more specific, getTickCount()seem to be ignoring the time I entered as start and end times I entered for testing. Could it be using system time instead? ><cfset Start = getTickCount()> > >do a bunch of stuff > ><cfset End= getTickCount()> > ><cfset Time Elapsed = End - Start> (in milliseconds) > >Bryan Stevenson B.Comm. >VP & Director of E-Commerce Development >Electric Edge Systems Group Inc. >phone: 250.480.0642 >fax: 250.480.1264 >cell: 250.920.8830 >e-mail: [EMAIL PROTECTED] >web: www.electricedgesystems.com >----- Original Message ----- >From: "Love Sponge" <[EMAIL PROTECTED]> >To: "CF-Talk" <[email protected]> >Sent: Monday, February 27, 2006 8:50 AM >Subject: Time Calculations > > >> Hi all, >> Can anyone tell me what is the best way to capture user input (StartTime, >> EndTime) and resuse this data to calculate TimeElapsed. >> >> Thanks. >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233560 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

