Convert a JavaScript Date to a DayValue (YYYYMMDD).
If utc is true the function uses the ISO string representation to calculate the day in UTC. Otherwise it uses local date components.
utc
Convert a JavaScript Date to a DayValue (YYYYMMDD).
If
utcis true the function uses the ISO string representation to calculate the day in UTC. Otherwise it uses local date components.