Temporal.PlainDateTime.prototype.toPlainTime()
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
- experimental technology
Check the Browser compatibility table carefully before using this in production.
The toPlainTime()
method of Temporal.PlainTime
object representing the time part (hour, minute, second, and subsecond components) of this date-time.