function formatDateTimeJS(
    formatter,
    year,
    monthIdx,
    day,
    hour,
    minutes,
    seconds
) {
    const date = new Date(year, monthIdx, day, hour, minutes, seconds)
    return formatter.format(date)
}
/**
 * Return the given local date and time formatted by the given formatter.
 *
 * @param {Intl.DateTimeFormat} formatter - The formatter to use
 * @param {number} year - The Year
 * @param {number} monthIdx - The index of the month, starting at 0 (January)
 * @param {number} day - The day of the month (starting at 1)
 * @param {number} hour - The hour
 * @param {number} minutes - The minutes
 * @param {number} seconds - The seconds
 * @returns The given date and time formatted by the given formatter.
 */
Return the given local date and time formatted by the given formatter.
Return the given local date and time formatted by the given formatter .
function formatDateTimeJS(
    formatter,
    year,
    monthIdx,
    day,
    hour,
    minutes,
    seconds
) {
    const date = new Date(year, monthIdx, day, hour, minutes, seconds)
    return formatter.format(date)
}
function formatDateTimeJS ( formatter , year , monthIdx , day , hour , minutes , seconds ) { const date = new Date ( year , monthIdx , day , hour , minutes , seconds ) return formatter . format ( date ) }
Return the given local date and time formatted by the given formatter.
Return the given local date and time formatted by the given formatter .