prova:
codice:
<script language="javascript">
<!--
today=new Date();
function get_date(maxNum)
{
t=today.getDate()
return t;
}

function dateQuote()
{
var maxQuotes=31;
var dQuote=get_date(maxQuotes);
dQuote -= (today.getHours()>=3)?2:1;
Scusa, non ho il tempo di provarli