I18Nv2_Locale::setDateFormat()
-- Set date format
Описание
Set the date format to use.
Either a I18Nv2_DATETIME constant or a custom date format.
Параметр
- integer $format
a I18Nv2_DATETIME constant
- boolean $custom
whether to use a defined custom format
Возвращаемое значение
Возвращает TRUE при удаче и
PEAR_Error в обратном случае.
Заметка
Эта функция не должна вызываться статически.