test whether year conversion worked before trying other method