date-vir - v7.4.0
    Preparing search index...

    Function toSimpleDatePartString

    • Create a string based on just the date parts of a FullDate.

      CAUTION: this does not user locale setting. Prefer toLocaleString whenever possible.

      Example output: '2023-12-05'

      Parameters

      • fullDate: Pick<FullDate, "year" | "month" | "day">

      Returns `${number}-${number}-${number}`