Posts by Miguel Angelo de Souza • 11 points
1 post
-
1
votes5
answers10575
viewsA: Subtraction of hours in php
In a very simple way, you can do the following: <?php $dteini = "2018/08/01 12:00:00"; $dtefim = "2018/08/03 12:59:19"; $dteDiff = strtotime($dtefim) - strtotime($dteini); $dte = new…
phpanswered Miguel Angelo de Souza 11