On Fri, Dec 30, 2011 at 5:33 PM, Eric Lommatsch wrote:
>
> When I try this method:
>
>
>
> $interval = $dteStartDate[$intCnt]->diff($dteEndDate[$intCnt]); I get the
> following error when I run the page:
>
> " Fatal error : Call to undefined method DateTime::diff() in
> /var/www/evalHomeLime.php
m
>
>
>
>
> er...@pivotaldata.com
>
>
>
>
>
> -Original message-
> From: Fatih P.
> Sent: Thu 29-12-2011 16:16
> To: ad...@buskirkgraphics.com;
> CC: 'Frank Arensmeier' ; 'Eric Lommatsch'
> ; p
On 12/29/2011 01:22 PM, Eric Lommatsch wrote:
Hello List,
I am using PHP version 5.2.6.
I am using PHP V5.3.3
In my setup, the following lines give me errors stating that PHP cannot
convert the DateTime object to a string. I was able to get around the
error by changing your code to the fol
mmatsch'
; php-general@lists.php.net;
Subject: Re: [PHP] Question about date calculations
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote:
-Original Message- From: Fatih P. [ mailto:fatihpirist...@gmail.com ]
Sent: Thursday, December 29, 2011 5:10 PM To: Frank Arensmeier Cc:
x27;Frank Arensmeier'
;
CC: 'Eric Lommatsch' ; php-general@lists.php.net;
Subject: RE: [PHP] Question about date calculations
> -Original Message-
> From: Fatih P. [mailto:fatihpirist...@gmail.com]
> Sent: Thursday, December 29, 2011 5:10 PM
> To: Frank Are
Ext 23
Fax 888-282-9927
www.pivotaldata.com
er...@pivotaldata.com
-Original message-
From: Frank Arensmeier
Sent: Thu 29-12-2011 15:25
To: Eric Lommatsch ;
CC: php-general@lists.php.net;
Subject: Re: [PHP] Question about date calculations
29 dec 2011 kl. 22.22 skrev
Fatih P. wrote:
well then look deeper in the question:
"I have a page I am trying to create where I am comparing the values of two
MySQL date fields with the current date. One of the *MySQL Date fields *is a
class start date,*the other* is the class end date."
all needs to do is modify his quer
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote:
-Original Message-
From: Fatih P. [mailto:fatihpirist...@gmail.com]
Sent: Thursday, December 29, 2011 5:10 PM
To: Frank Arensmeier
Cc: Eric Lommatsch; php-general@lists.php.net
Subject: Re: [PHP] Question about date calculations
> -Original Message-
> From: Fatih P. [mailto:fatihpirist...@gmail.com]
> Sent: Thursday, December 29, 2011 5:10 PM
> To: Frank Arensmeier
> Cc: Eric Lommatsch; php-general@lists.php.net
> Subject: Re: [PHP] Question about date calculations
>
> On Thu, Dec 29,
On Thu, Dec 29, 2011 at 11:40 PM, Frank Arensmeier wrote:
> 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
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
Hello List,
I am using PHP version 5.2.6.
I have a page I am trying to create where I am comparing the values of two
MySQL date fields with the current date. One of the MySQL Date fields is a
class start date, the other is the class end date.
First I need to calculate the number of days
12 matches
Mail list logo