Unable to convert MySQL date/time value to System.DateTime using Microsoft Visua. Stating that there is an invalid data type (MySQL Date Time type). Serializing System.DateTime for SQL. This just makes the DateTime value a UTC time and that means that timezone is +00:00 and after serialization, the value will.
Hi I am having a weird issue with MySQL right now. I am executing a MySqlCommand of type stored procedure which has some datetime values in it and I have verified that all date time values are correct. But I when I execute this command as cmd.ExecuteNonQuery() it thorws erros as 'Fatal error encountered during command execution' InnerException - 'Unable to serialize date/time value' I read in some online forums that it is the issue with.NET connector for MySQL and is resolved in version 6. Drw Remover.exe. more. 3.3. Well, I am using version 6.5.4 and still facing issue. When I pass DateTime.Now as a value everything works well but none of the other date value works.