Solved

Convert 07:38:24 to mins

Posted on 2004-10-12
1
149 Views
Last Modified: 2013-12-24
The data is inserted into the db like 07:38:24

I'm not concerned about the seconds part...how can I convert this into one variable that is just minutes? The output would be 458

Also, 00:45:55 would be 45
0
Comment
Question by:JRockFL
1 Comment
 
LVL 35

Accepted Solution

by:
mrichmon earned 50 total points
ID: 12291728
<cfset myTime = "07:38:24">

<cfset myMin =( ListFirst(myTime, ":") * 60) + ListGetAt(myTime, 2, ":")>
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Remove Index.php in Codeigniter 12 67
JVM encoding. How to change encoding. 27 111
cookies analysis tools 2 100
SSL Certificate for IIS7 Site 2 56
This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question