un attimo...modifico il post quando ho trovato

edit
Codice PHP:
$giornimese date("t"time()); 
// Number of days in the given month