Datetimepicker returning a null value in mysql. [VB.NET] <p>Here is my code:</p> <pre><code>'" &amp; DateTimePicker1.Value &amp; "')" </code></pre> <p>It keeps returning this in mysql, what am I doing wrong? "0000-00-00"</p> <p>Also the type of the column in phpmyadmin is DATE</p>