ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:setdatelocale

setDateLocale

void setDateLocale(
  optional string $locale = 'En'
)

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.txt · Last modified: 2016/01/17 01:39 by mnewnham