Function date_format

  • Example

    let date = new Date( );
    let options = { day: 'numeric', month: 'numeric', year: 'numeric', hour: 'numeric', minute: 'numeric' };
    let text = date_format( date, options );

    Parameters

    • date: Date
    • Optional options: any

    Returns string

Generated using TypeDoc