Support for TimeSpan object

Added support for TimeSpan, since the on the way in TimeSpan always came
back as 00:00:00.000