Calculate the exact time between two dates and times, or add and subtract a duration from any starting moment. Returns days, hours, minutes, seconds, decimal hours, and the resulting weekday when in add/subtract mode.
Both modes work in absolute UTC seconds to avoid daylight-saving artifacts. "Between" mode parses each date+time as a JavaScript Date object, takes the difference in milliseconds, and decomposes it into days/hours/minutes/seconds via integer division. "Add/Subtract" mode adds the signed delta (days·86400 + hours·3600 + minutes·60 seconds) to the start moment and re-formats the result, including the weekday name.
Disclaimer: Times are treated as local-naive without timezone conversion. For timezone-aware calculations involving travel or international scheduling, convert both endpoints to UTC manually first.