Source: utils/date.js

/**
 * @module utils/date
 */

/**
 * @function getCurrentYear
 * @description Get the current year
 * @returns {number} returns the current year
 * @see {@link module:components/copyright~addCurrentYear|addCurrentYear}
 */
export function getCurrentYear() {
	const year = new Date().getFullYear();

	return year;
}