Posted by Davide on 03/05/07 13:49
Hi all.
I'm looking in php.net a function that helps me to work with date.
I need to build a script wich can calulate the difference from a
specific date "2007-03-01" to current date.
I'm thinking about unix epoch, is it the correct way?
example:
2007-03-05 - 2007-03-01 = 2 days
2007-03-05 - 2007-02-05 = 1 month
etc...
Navigation:
[Reply to this message]
|