Answers for "convert days to weeks and days javascript typescript"

0

convert days to weeks and days javascript typescript

function getWeeks(days) {
  return {
    weeks : Math.floor(days / 7),
    days : days % 7
  };
}
Posted by: Guest on August-06-2021

Code answers related to "convert days to weeks and days javascript typescript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language