added formatting to datetime picker

Added formatting for datetime picker. Cant pick times in past.