Files
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

22 lines
406 B
JavaScript

var endOfDay = require('../end_of_day/index.js')
/**
* @category Day Helpers
* @summary Return the end of today.
*
* @description
* Return the end of today.
*
* @returns {Date} the end of today
*
* @example
* // If today is 6 October 2014:
* var result = endOfToday()
* //=> Mon Oct 6 2014 23:59:59.999
*/
function endOfToday () {
return endOfDay(new Date())
}
module.exports = endOfToday