Return the start of tomorrow.
Return the start 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 startOfTomorrow = require('date-fns/startOfTomorrow')
// ES 2015 import startOfTomorrow from 'date-fns/startOfTomorrow'
// ESM import { startOfTomorrow } from 'date-fns'
Description |
---|
the start of tomorrow |
// If today is 6 October 2014: const result = startOfTomorrow() //=> Tue Oct 7 2014 00:00:00
© 2021 Sasha Koss and Lesha Koss
Licensed under the MIT License.
https://date-fns.org/v2.29.2/docs/startOfTomorrow