ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:datetime:adodb_date_locale

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
datetime:adodb_date_locale [2015/11/26 16:39] mnewnhamdatetime:adodb_date_locale [2015/11/26 16:48] mnewnham
Line 1: Line 1:
 ====== $ADODB_DATE_LOCALE ====== ====== $ADODB_DATE_LOCALE ======
-<WRAP right info> +~~NOTOC~~ 
 +<WRAP right box>
 |Type|Mixed| |Type|Mixed|
 |Default|false| |Default|false|
-|Format|array ('Date Format','Time Format')| +|Format|array ($dateFormat,$timeFormat)| 
-                +</WRAP>            
-</WRAP>+ 
 + 
 +===== Description ===== 
 +This global variable provides a default format to [[datetime:adodb_strftime|adodb_strftime()]] to improve the speed of date/time conversions. 
 +The format is an array: 
 +  * 1st element is date format using [[datetime:adodb_date()]] syntax 
 +  * 2nd element is the time format, also in [[datetime:adodb_date()]] syntax 
 +  
 +===== Usage ===== 
 +<code php> 
 + 
 +$ADODB_DATE_LOCALE = array('d/m/Y','H:i:s');
  
 +</code>
  
v5/datetime/adodb_date_locale.txt · Last modified: 2023/05/18 18:55 by dregad