Help me | Time Project

Hello, guys!

I have the status page of my bot. There is time there, how much the bot works. But, my time is written like this: Bot works: 183 hours.
Who knows how you can translate the hours that are given in days, minutes, hours and seconds only in the familiar format: Clock max. 24 minutes max. 60 seconds max. 60

PHP

Just do h/24 to get each day. Then splice the decimal.

Please, giving code?:slight_smile:

I can’t spoon feed you the code. But it should be simple to figure it out.

You are using PHP right? Take a look at this:

1 Like