Hi,
I have used the below code.
string str = Convert.ToString(DateTime.Now) , I am not getting any error message, and the same code as been deployed to production.. I am getting error in Dyntracelogs which says that - Invalid castException
Kindly let me know what mistake I have done.
Please help me

Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 22, 2017, 6:17 PM EDT
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 22, 2017, 6:18 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Jun 22, 2017, 10:44 PM EDT