Sorting Date/Time In PHP
I'm looking for a way to sort dates and times with PHP.
Currently I'm using timestamps, but I'm really having a hard time wrapping my head around how I'm trying to do it.
What I'm looking to do is check for dates between (date a) and (date b) and add 1 to a variable every time one is found.
In theory this is easy, but I'm having a hard time with this today for some reason.
So, how would you recommend sorting yyyy-mm-dd hh:mm:ss? Of course, i'm open to using another format, if it's easier to sort through.
Backup, Clone & Protect Your WordPress Sites w/ BACKUP CREATOR"