v5:reference:connection:setdatelocale
This is an old revision of the document!
setDateLocale
<WRAP right box>
void setDateLocale( optional string $locale = 'En' )
<WRAP>
Description
The method setDateLocal()
changes the SQL connection locale to a specified locale. This is used to get the date formats written depending on the client locale.
Usage
$db->setDateLocale('fr');
v5/reference/connection/setdatelocale.1452137599.txt.gz · Last modified: 2017/04/21 11:33 (external edit)