Hi
I am tray to find out if Mysql date is 0000-00-00 but with no luck
Code:If Not reader.IsDBNull(reader.GetOrdinal("Date")) Then If reader.GetDateTime("Date").ToString = "0000-00-00" Then MsgBox("with 0000-00-00") Else MsgBox("Date ok") End If Else MsgBox("NULL") End If