Date of today +1 .. +x days
http://www.weberdev.com/get_example-292.html
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
SEO Data Monitor http://seo.weberdev.com
-Original Message-
From: Adrian Bruce [mailto:[EMAIL PROTECTED]
Sent: Wednes
Hi:
The problem is that you have transposed your date elements.
See this:
http://xn--ovg.com/a3.php
Try this code:
date test (d/m/y)";
$start = "05-09-07";
$start = explode('-',$start);
$startmk = mktime(0,0,0,$start[1],$start[0],$start[2]);
$startdate = date('d-m-y',$startmk);
print_r($sta
> -Original Message-
> From: Adrian Bruce [mailto:[EMAIL PROTECTED]
> Sent: 29 March 2006 13:52
>
> I am having an unusual problem when trying to calculate dates
> in advance
> from a start date. the code below shows a loop where by on
> each run an
> increasing number of weeks is ad
I have come up with an alternative myself but still cant explain why the
first method did not work, still be interested to know why if anyone can
offer some thoughts. Using strtotime for the calc seems to produce
correct results
my soluiton:
[snip]
date test 2";
$start = "05-09-07";
$start
That should not effect it, if i am adding $i * 7 days each time then i
should get the date that comes 7 days later irrespective of how many
days are in the month, shouldn't I ? 8 * 7 = 56, 56 days after the
07-09-05 is 02-11-2005.
Thomas Munz wrote:
Cause 9th month have 30 days but 10th mont
Cause 9th month have 30 days but 10th month have 31 days. You don't check the
amount of day there... :)
on Wednesday 29 March 2006 14:51, Adrian Bruce wrote:
> Hi
>
> I am having an unusual problem when trying to calculate dates in advance
> from a start date. the code below shows a loop where
6 matches
Mail list logo