I'm trying to make a command for my PHP IRC bot to tell a user how old a domain is.
lets say TODAY's date is "2011 01 15" which would be in the format of "y m d"
and lets say the date the user typed in was "1998 05 19"
how would I make the output say something like:
"Domain is xx years, xx months, xx, days old!"
please and thank you
I'd appreciate it if you would write the code for me and not link me to something on php.net lol.
lets say TODAY's date is "2011 01 15" which would be in the format of "y m d"
and lets say the date the user typed in was "1998 05 19"
how would I make the output say something like:
"Domain is xx years, xx months, xx, days old!"
please and thank you
I'd appreciate it if you would write the code for me and not link me to something on php.net lol.