zeed
    Preparing search index...

    Function dayToDate

    • Convert a DayValue to a JavaScript Date.

      By default returns a local Date at midnight for the day. If utc is true the returned Date represents midnight UTC for that day.

      Parameters

      • day: number

        day as YYYYMMDD

      • utc: boolean = false

        whether to construct the Date in UTC (default: false)

      Returns Date

      Date object for the given day