Hi,
Friday, August 2, 2002, 10:52:14 PM, you wrote:
JB> Good morning!
JB> I need to subtract months by their abbreviated month name, so shouldn't this
JB> work?
JB> print(date("M", mktime(date("M")-$i));
JB> and if I loop;
JB> Aug
JB> Jul
JB> Jun
JB> May
JB>
Does this help...
$now
[snip]
I need to subtract months by their abbreviated month name, so shouldn't this
work?
print(date("M", mktime(date("M")-$i));
and if I loop;
Aug
Jul
Jun
May
[/snip]
Apparently not. But you can subtract by total hours in a given period, so
for an average I chose 30 days * 24 hours (
Good morning!
I need to subtract months by their abbreviated month name, so shouldn't this
work?
print(date("M", mktime(date("M")-$i));
and if I loop;
Aug
Jul
Jun
May
Thanks!
Jay
What if the hokie pokie really is what it is all about
***
*
3 matches
Mail list logo