I have a table with a datetime column. I try to filter by it in my query but it fails.
First because it's missing time zone information, but when i add it, it complains that it cannot compare dateTimeZone to dateTime.
We cannot apply operator < to types DateTimeZone and DateTime.
inner exception: We cannot apply operator < to types DateTimeZone and DateTime.
The DateTimeOffset text '2023-05-15T14:15:22.567' should be in format 'yyyy-mm-ddThh:mm:ss('.'s+)?(zzzzzz)?' and each field value is within valid range.
inner exception: The DateTimeOffset text '2023-05-15T14:15:22.567' should be in format 'yyyy-mm-ddThh:mm:ss('.'s+)?(zzzzzz)?' and each field value is within valid range.
inner exception: The time zone information is missing on the DateTimeOffset value '2023-05-15T14:15:22.567'. A DateTimeOffset value must contain the time zone information.
I have tried formatting my date as both "yyyy-MM-ddTHH:mm:ss.FFF" and "yyyy-MM-ddTHH:mm:ss.FFFzzz"
What can i do to satisfy my MySQL-connector since it's asking for TimeZone-information that it cannot use?