date time functions

consistent formatting, added timepicker