views:

53

answers:

1
System.DateTime start_time = (System.DateTime)phones_.GetStartTime(callInfo.No[1].e164, callInfo.No[0].e164)[0][0];     
+1  A: 

I think he is unable to cast it properly and this could be possible solution

DateTime dt= Convert.ToDateTime(phones_.GetStartTime(callInfo.No[1].e164, callInfo.No[0].e164)[0][0]);

Mr. Noro, you need to use Convert.ToDateTime function to cast it properly.

Muhammad Akhtar
It doesn't help me. Is there other solutions?
Noro
Then make your question clearer...
JonoW