Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The since()
method of Temporal.PlainDate
instances returns a new Temporal.Duration
object representing the duration from another date (in a form convertible by Temporal.PlainDate.from()
) to this date. The duration is positive if the other date is before this date, and negative if after.
This method does this - other
. To do other - this
, use the until()
method.