Function toISOString

  • Returns just the date portion as YYYY-MM-DD

    Parameters

    • d: Date

    Returns string