Setting Default Date Format

The default date format can be set using the globalization tag within web.config. The DotNetNuke settings will then override this dependant upon the localisation settings of the browser and the logged in user.

The format of the date is governed by the culture setting in the web.config file. As installed the tag looks like:

<globalization fileencoding=”UTF-8″ responseencoding=”UTF-8″ requestencoding=”UTF-8″ uiculture=”en” culture=”en-US”>

For example to change to English date format, from the default American format the culture is changed from en-US to en-GB:

<globalization fileencoding=”UTF-8″ responseencoding=”UTF-8″ requestencoding=”UTF-8″ uiculture=”en” culture=”en-GB”>