Why not use Zero code data/time picker , there are plugins try both, both are free