How it works
Convert the clock time to minutes after midnight, add or subtract the duration, then convert back to a 24-hour time with a day offset.
Example
23:30 plus 2 hours = 01:30 (+1 day).
Important limits
Clock times use a 24-hour wall-clock day; daylight-saving changes and time zones are not applied.