I have found a great function that returns the difference in days, hours and minutes between 2 dates.
Here is the link, works like a charm:
http://www.gidnetwork.com/b-16.html
For example, this function can be used for events, to know how much time is left until the next event.
Wednesday, February 10, 2010
Subscribe to:
Posts (Atom)