Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 23892 программиста и 1389 роботов. Сейчас ищут 1232 программиста ...

I18Nv2_Locale::setDateFormat

Вернуться к: I18Nv2

I18Nv2_Locale::setDateFormat

I18Nv2_Locale::setDateFormat() – Set date format

Synopsis

require_once 'I18Nv2/Locale.php';

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

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.



Вернуться к: I18Nv2

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware