How to convert minutes to hours?

vk.updates.hear(/^(?:SP Top-30)$/i, async (context) => { 
 axios.get(`https://minecraft-statistic.net/api/server/top/145.239.133.118_25565/all/1`).then(res => {
 return res.data;
 }).then(data => {
 let message = "; 
 data.data.forEach(item => {
 data.data.sort((a, b) => b.time - a.time);
 message += item.nickname + ' - ' + item.time + 'minutes\n';
})
 return context.send(`⭐ Top 30 online SP:\n\n${message}`);
})
});

Need to item.time was given in hours, not in minutes
March 19th 20 at 08:37
2 answers
March 19th 20 at 08:39
Solution
Divided by 60, with the remainder to act in its sole discretion.
March 19th 20 at 08:41
Solution
message += item.nickname + ' - ' + Math.floor(item.time / 60) + 'hours\n';

Find more questions by tags VKontakteJavaScript