
	Date.prototype.format(format: String, [userFunctions: Object = null]): String
	
		Formats a date according to a formatting string.
		
			format
			
				formatting string, accepts special characters, which must be enclosed by "%" (to use "%" literally, use "%%"),
				the following characters are recognized:
				
					d - day of the month 2 digits (01-31)
					j - day of the month (1-31)
					N - 1=Monday, 2=Tuesday, etc (1-7)
					w - 0=Sunday, 1=Monday (0-6)
					z - day of the year (1-365)
					W - week of the year (1-52)
					m - 2 digit month number (01-12)
					n - month number (1-12)
					t - Days in the month (28-31)
					L - leap year (0 no, 1 yes)
					Y - four digit year (Ex. 1979, 2006)
					y - two digit year (Ex. 79, 06)
					a - am or pm
					A - AM or PM
					g - 12 hour (1-12)
					G - 24 hour c (0-23)
					h - 2 digit 12 hour (01-12)
					H - 2 digit 24 hour (00-23)
					i - 2 digit minutes (00-59)
					s - 2 digit seconds (00-59)
					ms - 3 digits milliseconds(000-999)
					O - offset Timezone (hours)
				
			
			userFunctions
			
				object where the properties must be names of user functions,
				each property value must be a function which receives two arguments, the first
				will be the own Date object and the second if a function that receives
				as argument one of the special characters defined above and returns its value.
			
		
	
