asp.net - string variable date to double in c# -
in following code ,i need convert string double. code doesn't work.
string fdate="7/4/2013"; double nextdate = convert.todouble( fdate);
try this..
datetime ddd=convert.todatetime("7/4/2013"); double dd = convert.todouble(convert.tostring(ddd.month) + convert.tostring(ddd.day) + convert.tostring(ddd.year));
it surely work
Comments
Post a Comment