Correct negative/zero year in to_date/to_timestamp

Correct negative/zero year in to_date/to_timestamp

Edit