Closed willgarrett64 closed 2 years ago
Created two functions
calculateTimeUntil - this takes in a countdown object and calculatues the number of seconds from now until the countdown date
convertSecondstoDays - takes in number of seconds and converts it to an array of days, hours, minutes and seconds
Created two functions
calculateTimeUntil - this takes in a countdown object and calculatues the number of seconds from now until the countdown date
convertSecondstoDays - takes in number of seconds and converts it to an array of days, hours, minutes and seconds