0

Converting hours in minutes

How I can do it?

15th May 2017, 12:56 PM
Mr. Nobody
Mr. Nobody - avatar
4 Answers
+ 3
Ah, so you want to convert minutes to hours:minutes format. I suggest you read this, there's a simple & straightforward solution in it: http://stackoverflow.com/questions/5387371/how-to-convert-minutes-to-hours-and-minutes-hhmm-in-java
15th May 2017, 1:17 PM
CHMD
CHMD - avatar
+ 1
1h = 60 minutes. You do the math.
15th May 2017, 1:10 PM
CHMD
CHMD - avatar
+ 1
thanks)
15th May 2017, 1:20 PM
Mr. Nobody
Mr. Nobody - avatar
0
I can date() in 12:12 format, and I want convert this string in int like "732" minutes.
15th May 2017, 1:13 PM
Mr. Nobody
Mr. Nobody - avatar