Skip to content

formatDate

formatDate(date): string

Format a Date object to ISO date string (YYYY-MM-DD)

Date

string