datetime: Fix two bugs and all warnings

A variant of From in Timespan would not return a Timespan instance despite hitting the end of the function.
A set of given parameters was also missing a 'DateTime' before it, so it would have the wrong value entirely.