Global.Date.prototype.diff (dateObj)
returns the difference between this and another date object in milliseconds

Sourcecode in /home/hannes/helma/modules/core/Date.js:
68:   Date.prototype.diff = function(dateObj) {
69:       return this.getTime() - dateObj.getTime();
70:   }