I think you can just use `Time::Piece->strptime` to check for valid dates here. I'm not sure, though.