a date as text: with options, the ones of Intl.DateTimeFormat in the current locale; without, the format of the language (_tr.global.date_format)
Optional
let date = new Date( );let options = { day: 'numeric', month: 'long', year: 'numeric' };let text = date_format( date, options ); Copy
let date = new Date( );let options = { day: 'numeric', month: 'long', year: 'numeric' };let text = date_format( date, options );
a date as text: with options, the ones of Intl.DateTimeFormat in the current locale; without, the format of the language (_tr.global.date_format)