Date.prototype.getMonthTextual = function()
{
	var months = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
	
	return months[this.getMonth()];
};

Date.prototype.getDayTextual = function()
{
	var days = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	
	return days[this.getDay()];
};

Date.prototype.getHour = function()
{
	var hours = this.getHours();
	
	return (hours < 12) ? hours : hours - 12;
};

Date.prototype.getMinute = function()
{
	var minutes = this.getMinutes();
	
	return (minutes < 10) ? '0' + minutes.toString() : minutes.toString();
};

Date.prototype.getMeridian = function(format)
{
	if (!format) var format = "AM";
	var hour = this.getHours();
	var a = (hour < 12) ? new Array('A','M') : new Array('P','M');
	format = format.replace(/[aA]/, a[0]);
	format = format.replace(/[pP]/, a[0]);
	format = format.replace(/[mM]/, a[1]);
	
	return format;
};