People, people:
In general, I do agree, that when a post starts with ... but i am getting lazy
I find it a little lazy. Well, it even claims to be lazy.
However, there have been a bunch of instances of newbie-attacks on this list
lately, and if that's the type of environment this is
Hi all, first of all i'm sorry to ask this but i am getting lazy and i bet
you all can answer me in a couple of code lines.
i want to add some days to the the result of the date php function.
how can i had lets say 3 days?
ex:
(pseudo code)
?
$date =date(,mm,dd);
$date =date(,mm,dd) +
RTFM!
At 12:17 AM 1/14/2002 +, Pedro M. S. Oliveira wrote:
Hi all, first of all i'm sorry to ask this but i am getting lazy and i bet
you all can answer me in a couple of code lines.
i want to add some days to the the result of the date php function.
how can i had lets say 3 days?
ex:
Miles,
Hmm... RTFM! ..
That's a pretty unproductive post.
Pedro,
There are two PHP functions that will suffice. date() and mktime().
I've cut and pasted this from the PHP manual:
$tomorrow = mktime (0,0,0,date(m) ,date(d)+1,date(Y));
$lastmonth = mktime (0,0,0,date(m)-1,date(d), date(Y));
At 12:17 AM 1/14/2002 +, Pedro M. S. Oliveira wrote:
Hi all, first of all i'm sorry to ask this but i am getting lazy and
i bet you all can answer me in a couple of code lines. i want to add
some days to the the result of the date php function. how can i had
lets say 3 days? ex:
Yep, maybe it is, but when a post starts with ... but i am getting lazy,
I get a bit peeved. The implication is Do my work for me.
It's different when the context is I want to do this ... tried this ...
results aren't right ... please help.
Miles
At 06:04 PM 1/13/2002 -0800, Daniel Barton