Author: Goraleye | Posted on: 10/19/2010 3:54:04 AM | Views : 253

hi, this fonction does not work , why I've the runtime error String was not recognized as a valid DateTime.private DateTime FormatDate(string date) { return DateTime.ParseExact(date, "dd/mm/yyyy hh24:mi:ss", CultureInfo.CurrentUICulture); } I've an oracle Database, so DateTime format must be like 'dd/mm/yyyy hh24:mi:ss' to much data select * from T_log t where t._id = 20 and t.log_date = to_date('24/09/2010 13:47:40','dd/mm/yyyy hh24:mi:ss'

 
...

Go to the complete details ...