• Returns the data in basic ISO format, e.g., yyyy-mm-dd

    Parameters

    • date: Date

    Returns string

    // returns '2000-01-01'
    toBasicISOString(new Date(2000, 0, 1))