idea-toolbox
    Preparing search index...

    Variable toISODateConst

    toISODate: (input: string | number | Date) => string = toISODateString

    Type Declaration

      • (input: string | number | Date): string
      • 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

    use toISODateString instead