How do I tell if a time is 36 hours past another time and date?
Here's my problem. I have a date an time format that looks like this:
06-01-2012, 10:15am (MM-DD-YYYY, HH:MMxx).
What I want to do is create code (using PHP, preferably) that checks whether this date and time is later than 36 hours from now.
For example, if today's April 29th at 11:00am, I want to report one thing if it's before April 30th at 11:00pm and another if it's equal or later.
Any ideas? If I should convert this to a different format, how would I do that?