Converts the given date time value to an ISO string. The exact precision given is not used, only as far as whether
the precision is date- or time-level precision. With a date-level precision, toLocalDateString is used,
formatting the value as an ISO string for the date with a zero timestamp. With a time-level precision,
Date.toISOString is used.
Converts the given date time value to an ISO string. The exact precision given is not used, only as far as whether the precision is date- or time-level precision. With a date-level precision, toLocalDateString is used, formatting the value as an ISO string for the date with a zero timestamp. With a time-level precision,
Date.toISOStringis used.