Check time input limits else it blows up in DateTime constructor (lib)