I18Nv2_Locale::setCurrencyFormat | I18Nv2_Locale::setNumberFormat |
I18Nv2 | |
PEAR Manual | |
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.
a I18Nv2_DATETIME constant
whether to use a defined custom format
Returns TRUE on success, PEAR_Error on failure.
This function can not be called statically.
I18Nv2_Locale::setCurrencyFormat | I18Nv2_Locale::setNumberFormat |
I18Nv2 | |
PEAR Manual | |