RE: Re: [PHP] Question about date calculations
| From: | Eric Lommatsch | Date: | Fri, 30 Dec 2011 16:23:22 +0000 |
| Subject: | RE: Re: [PHP] Question about date calculations | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316131@lists.php.net to get a copy of this message | ||
Hello Frank,
As far as I know I am not doing anything in terms of trying to write or use my own function. What
I am trying to do is use what PHP provides.
Thank you
Eric H. Lommatsch
Programmer
Pivotal Data Incorporated
2087 South Grant Street
Denver, CO 80210
Tel 303-777-8939 Ext 23
Fax 888-282-9927
www.pivotaldata.com
ericl@pivotaldata.com
-----Original message-----
From: Frank Arensmeier <farensmeier@gmail.com>
Sent: Thu 29-12-2011 15:25
To: Eric Lommatsch <ericl@pivotaldata.net>;
CC: php-general@lists.php.net;
Subject: Re: [PHP] Question about date calculations
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