Fixed Date handling for zero-time mysql dates