Re: How many months between 2 dates

From: Date: Mon, 14 Apr 2003 07:06:58 +0000
Subject: Re: How many months between 2 dates
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143716@lists.php.net to get a copy of this message
*This message was transferred with a trial version of CommuniGate(tm) Pro* Foong - I have a function which does weeks, days, hours, minutes, seconds returned as an array given $start and $end timestamps, I think this would be useful for your needs... with a little tweaking to get the months :) http://www.phpexamples.net/modules.php?name=Code_Exchange&func=viewSnippet&s nippetId=24 Hope it helps! Rolf Brusletto rolf@phpExamples.net PHP/MySQL Coder Security Admin http://www.phpExamples.net ----- Original Message ----- From: "Foong" <cheefoong@chilipadi.com> To: <php-general@lists.php.net> Sent: Sunday, April 13, 2003 10:08 PM Subject: [PHP] How many months between 2 dates > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Hello, > > Instead of writing a logic, Is there a function where I I can calculate how > many months between two dates(timestamp) ?? > > Thanks. > > Foong. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#143716) next »