Skip to content

Why is my MySQL date field displaying as “0000.00.00”?

I created a MySQL table "Absence", which contains the columns (id, StartDate, EndDate, Reason). I made the connection between Android and MySQL with PHP. All is well except that when viewing the date it still shows me "0000.00.00". I see the same problem when I access my database using phpMyAdmin.

How can I resolve this?

Comments

Sign In or Register to comment.