// Extend DATE class

Date.prototype.toDDMMYYYYString = function()
{
	var day = (this.getDate() < 10) ? '0' + this.getDate() : this.getDate();
	var month = (this.getMonth() < 9) ? '0' + (this.getMonth() + 1) : (this.getMonth() + 1);
	var year = this.getFullYear();
	
	return day + '/' + month + '/' + year;
};