How to get latest date from now on a given date using carbon in laravel

前端 未结 0 457
旧巷少年郎
旧巷少年郎 2020-12-01 15:28

I want the nearest date passed from given date using carbon

$givenDate = "2020-07-18";

Today is = 2020-12-01

So the result

相关标签:
回答
  • 消灭零回复
提交回复
热议问题