Add or subtract hours and minutes from a time.
Time math is easiest in minutes: convert each time to minutes since midnight, add or subtract, then convert back. 9:30 is 570 minutes; adding 2 hours 45 minutes (165 minutes) gives 735 minutes, which is 12:15.
Times wrap around midnight, so subtracting past 00:00 rolls back to the previous evening, and adding past 24:00 rolls into the next morning. The result shows both 24-hour and 12-hour (AM/PM) formats.