ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:datetime:adodb_date_locale

$ADODB_DATE_LOCALE

TypeMixed
Defaultfalse
Formatarray ($dateFormat,$timeFormat)

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: 2016/01/13 02:12 by mnewnham