Cannot insert or update date value
I hope there is anybody out there who can give me some assistance because this is driving me nuts.
Dates are stored and displayed as YYYY-mm-dd. But when I try to update or insert a date value the result is always "1970-01-01". Is it a bug in MySQLi Server Behaviors? This has never been an issue before I changed to MySQLi.
Input field looks like this:
<input name="VzmDatum" type="date" id="VzmDatum" value="<?php echo($RsVZEdit->getColumnVal("datum")); ?>" data-provide="datepicker" data-date-format="yyyy-mm-dd" />
Many thanks in advance,