Constructs a new DateTime from date and time information.
On invalid dates, this function will have an undefined behaviour.