Monday, April 24, 2006

Find numbers of day in a month

Well, that may be a tricky question but if you are oversmart, well that is no problem at all. take a look at the following code





so do you get the point? when you just set the day=0, that also means the last day of previous month.

Dont use "d" in your dateformat string cause it wont return the expected value for PHP 5.1.1 and laters. Use "t" which works pretty fine for all PHP versions.

4 Comments:

Anonymous Anonymous said...

Your credit card company must also in addition to 40% try to give up smoking every year [url=http://www.odogh.co.uk/]long term loans[/url] 12 month loans On line application has been doing a tremendous work in giving financial assistance to people who are in need of assistance http://www.fhyxc.co.uk/

2:09 PM

 
Anonymous Anonymous said...

If you cannot make repayments for a Payday Loan debts, contact us currently for Pay day loan debt information [url=http://www.quickshorttermcarinsurance.co.uk/]1 day car insurance[/url] cheap short term car insurance I was stoked to view that $30,000 shrink in order to $20,000 after which $10,000 instantly http://www.pahiy.co.uk/

2:09 PM

 
Anonymous Anonymous said...

I fеel аѕ though Ӏ сould reaԁ about thіs all day, it's absorbing. I don't
even nеeԁ a cuppа yet.

My homepage long term loans for bad credit

9:08 AM

 
Anonymous Anonymous said...

We Have got thousands sites of casinos where you this bonus became easier to get? [url=http://www.bvcpaydayloans.co.uk/]http://ukpaydayloans.blog.co.uk/[/url] http://ukpaydayloans.blog.co.uk/ assailable a new Write up, bet betwixt 5 and 25 and they will tally it http://ukpaydayloans.blog.co.uk/

2:28 AM

 

Post a Comment

<< Home