Date and time parsing similar to what git can do.
Note that this is not a general purpose time library.