Date.prototype.MyFunction = function () { alert('prova'); }

var s = new Date();

s.MyFunction();