Platinum Partner

Get Number Of Minutes From Hours (Simple Version)

// Get the number of minutes from a date object's timestamp


function FormatMinutesFromHours(dateObject) {
    // Get the decimal value of hours
    var decimalTime = dateObject.getHours() + (dateObject.getMinutes() / 60);
    // Multiply by 60 and round to get the correct number of minutes
    return Math.round(decimalTime * 60);
}
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}