Last post Sep 25, 2014 10:55 PM by bora long
Sep 24, 2014 11:33 PM|bora long|LINK
Can you help me?
I can not convert from string to date
DateTime.ParseExact("ExamDate", "dd-MM-yyyy", New Globalization.DateTimeFormatInfo).
How can i use it?
Sep 25, 2014 12:04 AM|Ajay230784|LINK
You need to pass string variable instead of "ExamDate" string.
or if your Date string variable is "ExamDate" then pass it as variable instead of string
CultureInfo provider = CultureInfo.InvariantCulture;
string ExamDate = "9/25/2014";
DateTime.ParseExact(ExamDate, "dd-MM-yyyy", provider);
Sep 25, 2014 02:27 AM|bora long|LINK
but in my server can not work.
if i use on local host, it work,
how can i do?
Sep 25, 2014 04:35 AM|Ajay230784|LINK
Does it means in your local copy it is working and same changes not working on Server?
Have you copied your updated .dll file to your server ?
if yes, did you got any error over there, share it here.
Sep 25, 2014 10:55 PM|bora long|LINK
Ok. thank you very much.