If you are using mysql you can just use "NULLIF(ColumnName,'0000-00-00') as ColumnName" in the query to change zero dates to null and solve the 1970's problem.