Answers for "angular minutes to hour and minutes"

1

angular minutes to hour and minutes

//If you want to tranform this 90m to this 1h30m ..do this
var totalTimeInMinutes = 90;
var hour = Math.floor(totalTimeInMinutes / 60); //1h
var minutes = totalTimeInMinutes - (hour * 60); //30m
Posted by: Guest on May-10-2021

Code answers related to "angular minutes to hour and minutes"

Code answers related to "Javascript"

Browse Popular Code Answers by Language