I18Nv2_Locale::setDateFormat

I18Nv2_Locale::setDateFormat() – Set date format

Synopsis

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setDateFormat ( int $format , bool $custom = false )

Description

Set the date format to use.

Either a I18Nv2_DATETIME constant or a custom date format.

Parameter

integer $format

a I18Nv2_DATETIME constant

boolean $custom

whether to use a defined custom format

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

Set currency format (Previous) Set number format (Next)
Last updated: Wed, 23 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.