The time between two dates
Posted: Tue Aug 05, 2008 7:29 am
Hello there
I'm working on a sorta calendar project to be used with studies. It's a pretty simple PHP program, that lists some appointments and the status of those. The whole focus is to keep track of my deadlines. I was thinking it would be really cool, if i could make the program tell me how many days there is from the current date till deadline.
In short:
Is there a way to compare 2 dates (deadline and localtime) and output the time between them? Be it seconds, minutes whatever.
Thanks in advance
Chorage
I'm working on a sorta calendar project to be used with studies. It's a pretty simple PHP program, that lists some appointments and the status of those. The whole focus is to keep track of my deadlines. I was thinking it would be really cool, if i could make the program tell me how many days there is from the current date till deadline.
In short:
Is there a way to compare 2 dates (deadline and localtime) and output the time between them? Be it seconds, minutes whatever.
Thanks in advance
Chorage