Return the end of tomorrow.
Return the end of tomorrow.
⚠️ Please note that this function is not present in the FP submodule as it uses
new Date()
internally hence impure and can't be safely curried.
// CommonJS var endOfTomorrow = require('date-fns/endOfTomorrow')
// ES 2015 import endOfTomorrow from 'date-fns/endOfTomorrow'
// ESM import { endOfTomorrow } from 'date-fns'
Description |
---|
the end of tomorrow |
// If today is 6 October 2014: const result = endOfTomorrow() //=> Tue Oct 7 2014 23:59:59.999
© 2021 Sasha Koss and Lesha Koss
Licensed under the MIT License.
https://date-fns.org/v2.29.2/docs/endOfTomorrow