about | help | code help+videos | done | prefs |
dateTime_minutesUntilMidnight
Given integers for a current time in hours and minutes in 24-hour format, return how many minutes there are until midnight. For example, the input of hour 0 and minute 0 should return 1440 because there are 1440 minutes in one day. dateTime_minutesUntilMidnight(23, 59) → 1 dateTime_minutesUntilMidnight(23, 0) → 60 dateTime_minutesUntilMidnight(22, 0) → 120 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy