Upon Registration on my laravel website, I can happly register fine however whenever someone's birthday appears to be an older date before 1970 it will always throw an error like this
Illuminate \ Database \ QueryException (22007) SQLSTATE[22007]:
Invalid datetime format: 1292 Incorrect datetime value: '1963-07-17' for column
cp644657_portal
.users
.date_of_birth
at row 1 (SQL: insert intousers
(name
,address_line_1
,suburb
,state
,post_code
,date_of_birth
,mobile
,position
,password
,updated_at
,created_at
) values (Test Tesy, test@testwrr.tesy, Test, Test, Test, 4151, 1963-07-17, 0400000000, , $2y$10$H4Ey15q0XqunxuLmziE01OhR3jTEBIHzNJZscA85mQdf88nrYDgEa, 2019-07-16 23:11:07, 2019-07-16 23:11:07))
Previous exceptions
SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '1963-07-17' for column
cp644657_portal
.users
.date_of_birth
at row 1 (22007)