I currently have two date objects like this:
2018-01-17 22:50:30
2018-01-23 23:04:36
And I am trying to find the number of days between them. What is the proper way to do this in Laravel/PHP? Is just subtracting them sufficient?
I tried the possible solution linked below and it has not been working for me.