How to use custom format in Carbon php?

前端 未结 0 1885
一生所求
一生所求 2020-12-06 11:53

I\'m creating a function that converts given seconds to duration with given format. My example code is

$format = "HHr(s) iMin(s);
$seconds = 3600;
echo C         


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