Template:D/doc

Purpose: Formats date according to user preference. Preference is set with language preference. English-Great Britain (en-gb) gets day-month-year order as well as all other non En languages. If user preference is en, then US/Canada Month-day-year order is used.

Recognized:
 * Year only- no error checks- just passes the value
 * Three orders, dependent on delimiter
 * Month/Day/Year
 * Day Month Year
 * Year-Month-Day
 * Months may be a number, an month name in english, or a three letter english abbreviation
 * Illegal day values identified (February 29 in a non leap year)