Posts by Felipe Thomas • 26 points
1 post
-
1
votes1
answer447
viewsA: How to calculate cumulative time in days (Count-up) in php?
From what I understand, I think the code below does what you need. $dtStart = new DateTime("2018-07-20"); $dtEnd = new DateTime("2018-07-25 10:45:44"); $dtDiff = $dtStart->diff($dtEnd); print…