Fix #1919614 - Date and time are now core, add generation support for them .. Also add some type hinting.