Omitting the time for date only (i.e. midnight) DateTime's.

Completes implementation of issue #39.