The date string to convert.
The precision of the output. Any information in the string after the precision is lost.
Converts the given datetime string value (in ISO format) to a Date object. If the given precision is a
DatePrecision then the returned date have the time 00:00:00 in local time.
Designed to handle issues when displaying dates with precision restrictions and handling time zones. Should generally be used only for presentation purposes, not for actual data manipulation.
The date string (in ISO format) to convert.
The precision of the output. Any information in the string after the precision is lost.
Converts the given datetime string value (in ISO format) to a Date object. If the given precision is a
DatePrecision then the returned date have the time 00:00:00 in local time. Returns null if the given value
is null.
Designed to handle issues when displaying dates with precision restrictions and handling time zones. Should generally be used only for presentation purposes, not for actual data manipulation.
The date string (in ISO format) to convert.
The precision of the output. Any information in the string after the precision is lost.
Converts the given date string value (in ISO format) to a Date object. If the given
precisionis aDatePrecisionthen the returned date have the time 00:00:00 in local time.Designed to handle issues when displaying dates with precision restrictions and handling time zones. Should generally be used only for presentation purposes, not for actual data manipulation.