Given two time parameters like: "13:00" and "00:00" How can I calculate the difference backwards and return it in minutes? My expected result is 780. Parameters can be 13:30. 13:45 etc.
API doc did not help, https://day.js.org/docs/en/display/difference, everybody is calculating date difference, not hours.
Thanks!