function convDate( d )
{
date = new Date( d );
year = date.getFullYear();
month = date.getMonth() + 1;
if ( month < 10 ) month = '0' + month; 
day = date.getDate();
if ( date < 10 ) day = '0' + day;
hours = date.getHours();
if ( hours < 10 ) hours = '0' + hours;
minutes = date.getMinutes();
if ( minutes < 10 ) minutes = '0' + minutes;  
return ( year + '-' + month + '-' + day + '&nbsp;' + hours + ':' + minutes );
}