I work with Carbon in Laravel framework, and now I have problem.
when I use Carbon::Pars(“1403-02-29”) it return 1403-03-01.
Carbon::Pars change dates from 1403-02-29 to 1403-02-31 to 1403-03-01
I don’t know how to solve it, I used other methods of carbon but didn’t work.
I tried other methods of Carbon
New contributor
Ahmad Haghnazaari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.