Just Datime.Add() the TimeSpan
to the DateTime
's Date property and you will get your desired DateTime
like:
DateTime updatedDt = mydate.Date.Add(ClientTradedTime);
Consider the following example:
DateTime myDate = DateTime.Now;
TimeSpan ClientTradedTime = new TimeSpan(16, 52, 51);
DateTime updatedDt = myDate.Date.Add(ClientTradedTime);
This will give you:
updatedDt = {04/02/2014 4:52:51 PM}
myDate.Date
would give you DateTime
with Time set to 00:00:00
and then you can add your TimeSpan
to it.