Results 1 to 3 of 3
-
01-09-2010, 03:06 PM #1
Coldfusion experts!!! In need of your expertise!!!
I'm trying to do a calculation using timestamps. All I need is the time difference between the two stamps. No need for the dates.
example:
(2009-08-07 02:16:34) - (2009-08-07 01:36:01)
I just need "2:16:34" - "1:36:01" but do not know enough coldfusion to get it to display properly. What is the proper calculation to get it to show a total of "40:33"?
-
02-02-2010, 11:37 AM #2
Use dateDiff("n", d1, d2) to calculate the difference in minutes. Then use basic math to convert the total number of minutes to hours:minutes format.
-
12-17-2010, 05:59 AM #3
Freshman
- Join Date
- Dec 2010
- Posts
- 43
- Thanks
- 0
- Thanked 0 Times in 0 Posts
- Feedback Score
- 0
The coldfusion developer cold fusion developer summary develop, document and maintain internet enabled applications for company internal and external internet activities.Thanks for sharing information.
Similar Threads
-
newbie questions on generating Word document from ColdFusion
By Abina in forum ColdFusionReplies: 1Last Post: 02-02-2010, 11:35 AM -
Capturing Referrer Using ColdFusion.
By Abina in forum ColdFusionReplies: 1Last Post: 02-02-2010, 11:31 AM -
JavasScript variable to Coldfusion
By Abina in forum ColdFusionReplies: 1Last Post: 02-02-2010, 11:11 AM -
Urgent: Coldfusion Requirement, 4-8 years for Pune with Onsite
By Abina in forum ColdFusionReplies: 0Last Post: 01-09-2010, 03:13 PM -
What is coldfusion?
By wujijiangjun in forum ColdFusionReplies: 8Last Post: 01-05-2010, 09:59 AM




Reply With Quote

