Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The subtract() method of Temporal.PlainTime instances returns a new Temporal.PlainTime object representing this time moved backward by a given duration (in a form convertible by Temporal.Duration.from()), wrapping around the clock if necessary.
If you want to subtract two times and get a duration, use since() or until() instead.