我想从现在起20分钟后把碳用在拉拉上。我怎么能这么做?
$minutes = 20; $delivery_time =Carbon::now()->add($minutes,'minute')->format('h:m');
发布于 2019-12-23 19:58:16
试着使用以下方法:
Carbon::now()->addMinutes($minutes)->format('h:m')
文档:https://carbon.nesbot.com/docs/
https://stackoverflow.com/questions/59460683
相似问题