> try that:
> echo "strtotime1:".strtotime ("next Month")."\n";
> echo "strtotime2:".strtotime ("next month")."\n";
> echo "time:".time()."\n";
> echo "time1:".strftime("%d %m %Y",strtotime("next Month"))." |
> time2:".strftime("%d %m %Y",time());
>
> (probably causing error because of "m"onth /
On 31 January 2006 13:29, Barry wrote:
> James Benson wrote:
> > The case makes no difference, because...
> >
> >
> > echo date('r', strtotime ("next Month"))."\n";
> > echo date('r', strtotime ("next month"))."\n";
> >
> I was referring here to a note on php.net ->
> For those upgrading from P
James Benson wrote:
The case makes no difference, because...
echo date('r', strtotime ("next Month"))."\n";
echo date('r', strtotime ("next month"))."\n";
I was referring here to a note on php.net ->
For those upgrading from PHP 4 to PHP 5 there are a number of things
that are different abou
The case makes no difference, because...
echo date('r', strtotime ("next Month"))."\n";
echo date('r', strtotime ("next month"))."\n";
gives...
Fri, 03 Mar 2006 12:52:54 +
Fri, 03 Mar 2006 12:52:54 +
BTW, Im using Debian, PHP 4.4.2 and my machines time zone is Europe/London
Few mor
Barry wrote:
James Benson wrote:
Im encountering some very weird behaviour when using the following:-
echo date("M", strtotime("next month"));
outputs: Mar
while
echo date("r",time());
outputs: Tue, 31 Jan 2006 11:21:47 +
anyone know why?
---
James Benson wrote:
Im encountering some very weird behaviour when using the following:-
echo date("M", strtotime("next month"));
outputs: Mar
while
echo date("r",time());
outputs: Tue, 31 Jan 2006 11:21:47 +
anyone know why?
--
6 matches
Mail list logo