Simple Back Button

<a href=”javascript:history.go(-1)” class=”custom_back_button”><i class=”fas fa-chevron-left”></i> Back</a> This example uses Font Awesome. Don’t forget to include Font Awesome lib in your...

Convert Seconds to Time

function secondsToTime($seconds) { $dtF = new \DateTime(‘@0’); $dtT = new \DateTime(“@$seconds”); return $dtF->diff($dtT)->format(‘%a days, %h hours, %i minutes and %s seconds’); } echo...

Pin It on Pinterest