Date Issue
- From: admin@xxxxxxxxxxxxxxxxxxx
- Date: Mon, 31 Mar 2008 15:07:36 -0400
Not understanding why this is happening.
$month = date("F", mktime(0,0,0, date(m), date(d), date(Y)));
$zomonth = date("F", mktime(0,0,0, date(m)-1, date(d), date(Y)));
echoing out the exact same month
March
March
Checked server timezone/date/time all is good. Am I half asleep at the wheel on this one and just not seeing my mistake here?
Richard L. Buskirk
Hardware Failure: $4,000.
Network Outage: $15,000.
Always blaming the programmers for everything: Priceless.
.
- Follow-Ups:
- Re: [PHP] Date Issue
- From: "Richard Lynch"
- Re: [PHP] Date Issue
- From: "Andrew Ballard"
- Re: [PHP] Date Issue
- Prev by Date: Re: [PHP] Google Pagerank script
- Next by Date: Re: [PHP] Date Issue
- Previous by thread: Reporting mail as spam
- Next by thread: Re: [PHP] Date Issue
- Index(es):
Relevant Pages
|