How I can format a DateTime
in C# like this 2015-09-24T09:30:00+05:30
?
I found a method like this date.ToString("o");
, but which is formatting the string like this 2015-10-05T09:30:00.0000000+05:30
. Adding the additional .0000000
to the string.
Any one please help to get this corrected.