how to convert 0.475 to minutes as 28 mnts.

sreedhar

New member
Local time
Today, 12:59
Joined
May 11, 2021
Messages
2
how to convert 0.475 to minutes as 28 mnts.
 
i assume it is 0.475 of 1 hr.

CInt(0.475*60)
 
Probably;
0.475*60 = 28.5
 
You might find this video on my website useful. It tackles Time from slightly different angle:-

 
how to convert 0.475 to minutes as 28 mnts in access query
 
I suspect you are using a DateTime field to store a duration. As long as the duration doesn't exceed 24 hours you'll be fine. But the DateTime field is intended to show a point in time so once you have more than 24 hours, you end up with days as well so the calculation no longer works. 1.475 * 60 = 88.5 minutes rather than 1468.5.. And if you were to display the value as a date, it would be 12/30/1899 00:28:30.

So, could the duration ever be more than 24 hours?
 

Users who are viewing this thread

Back
Top Bottom