Hostpoint - Hilfe & Support > Help & Support > Products > Webhosting > General questions and getting started > What are the date format and country settings for PHP? (locale)

What are the date format and country settings for PHP? (locale)

Table of contents
No headers

You can select the country-specific formatting of the date and other items. The PHP function for German is:

setlocale(LC_TIME, "de_DE.ISO8859-1");

or, for example,

setlocale(LC_TIME, "de_DE.UTF-8");

The list of available locales as well as the PHP documentation for the setlocale() function provides more information on this topic.

You must to post a comment.
Last modified
01:51, 6 May 2015

Tags

Classifications

This page has no classifications.