zeed
    Preparing search index...

    Function dayFromDate

    • 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.

      Parameters

      • date: Date
      • utc: boolean = false

      Returns number