Re: Question about date calculations

From: Date: Thu, 29 Dec 2011 21:40:09 +0000
Subject: Re: Question about date calculations
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-316125@lists.php.net to get a copy of this message
29 dec 2011 kl. 22.22 skrev Eric Lommatsch: > So far in looking at the functions that are available at > http://www.php.net/manual/en/ref.datetime.php I have not been > able to figure > out how to do what I need to do. Below is a snippet showing approximately > what I am trying to do. On the same page you are referring, there are plenty of examples on how to calculate the difference between two dates. Choose one and see if it fits your bill. Or is there any particular reason why you're writing your "own" function? http://www.php.net/manual/en/ref.datetime.php#78981 /frank

« previous php.general (#316125) next »