idea-toolbox
    Preparing search index...

    Function toISODateString

    • Get the ISO string version of a date in the format YYYY-MM-DD. It doesn't say anything about the timezone: a date already in this format keeps its day, while a Date, an epoch or an ISO date-time string gives its day in the local timezone.

      Parameters

      • input: string | number | Date

      Returns string