Files
Testing/html5-chat1/nodeMulti/node_modules/date-fns/end_of_today/index.js
sean 343b4a3f3f
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-19 18:32:17 -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