Codice PHP:
$data mktime(0005242007);

// Giorni del mese
$gg date("t"$data);

// Giorno testuale
$day date("l"$data);