Author | Message |
---|---|
dstreff
Posts: 5
|
Posted 21:33 Mar 14, 2018 |
Should the Time object treat math operations differently based on AM or PM? For example, I have:11:07:11 PM + 11:04:42 PM. Should this answer be equal to 11:07:11 PM + 11:04:42 AM? |
kknaur
Posts: 540
|
Posted 10:36 Mar 15, 2018 |
An easy way to deal with this is that you compute everything in terms of 24 hour time, but you display the times using AM / PM time. |