Add .clearTime() method to DateTime #10003
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
core-2
library-core
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by kaisellgren@gmail.com
Every now and then I need a way to get for example "today" but without the time.
Sometimes I also need the beginning of some particular date.
It would be super cool to have a .clearTime() method on DateTime. It would return a new DateTime with times set to 00:00:00.
The text was updated successfully, but these errors were encountered: