Time conversion question....

1. Member
Join Date
Dec 1969
Posts
81

## Time conversion question....

I have 2 different time values. One is 60 min. based, the other is 100 based. Anyone know how to convert the 60 min. based to 100? <BR><BR>I am converting it to 100 based in order to calculate between 2 times and have the result in decimal form (eg., 4.67 hours)<BR><BR>Any help is greatly appreciated!

2. Senior Member
Join Date
Dec 1969
Location
Indianapolis, IN
Posts
1,755

## RE: Time conversion question....

Divide the minutes by 60. So if you had 15 minutes, that would come out to 0.25. Is that what you&#039;re asking?

3. Senior Member
Join Date
Dec 1969
Posts
16,931

## What language?

Why not use the built-in date/time handling functions to do it?<BR><BR>They will handle all the conversion...<BR><BR>Craig,

4. Member
Join Date
Dec 1969
Posts
81

## RE: Time conversion question....

For example, if I had 4 hours 30 minutes..i want it to be 4.5 hours<BR><BR>I don&#039;t think dividing by 60 will give me that will it?

5. Senior Member
Join Date
Dec 1969
Location
Indianapolis, IN
Posts
1,755

## RE: Time conversion question....

You have to split it out so that you only divide the *minutes* by 60. <BR>4 + (30/60) = 4.5

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•