E
E
Error 5022019-03-15 16:59:08
Laravel
Error 502, 2019-03-15 16:59:08

Laravel: Convert time duration to seconds via Carbon?

There is a process duration time in the format "Min:Sec:Mks". You need to somehow translate it into the total number of seconds. The project uses Carbon. Is there any method that gives this possibility?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Way, 2019-03-15
@wayheming

https://stackoverflow.com/questions/44018430/carbo...
First result on google...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question