Cudate Mac

You can "brew install coreutils" and then use "gdate " on macOS
AttractivePenguin