ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:datetime:adodb_date_locale

$ADODB_DATE_LOCALE

TypeMixed
Defaultfalse
Formatarray ($dateFormat,$timeFormat)

Deprecated since ADOdb 5.22.6, and removed in 5.23.0. Use 64-bit native PHP functions instead.

Description

This global variable provides a default format to adodb_strftime() to improve the speed of date/time conversions. The format is an array:

  • 1st element is date format using adodb_date syntax
  • 2nd element is the time format, also in adodb_date syntax

Usage

$ADODB_DATE_LOCALE = array('d/m/Y','H:i:s');
v5/datetime/adodb_date_locale.txt · Last modified: 2023/05/18 18:55 by dregad