Convert Days to Minutes using JavaScript

 

 

To convert days to minutes, multiply the days by 24 for hours and 60 for minutes, eg days * 24 * 60. The result of the multiplication will be the equivalent of minutes for the number of days.

 

 

let Days = 2;
let minutesAre = days * 24 * 60;

Tags:

Share:

Related posts