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 revision
Previous revision
Last revisionBoth sides next revision
datetime:adodb_date_locale [2015/11/26 16:39] mnewnhamv5:datetime:adodb_date_locale [2016/01/13 02:12] – ↷ Links adapted because of a move operation 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 [[v5:datetime:adodb_strftime|adodb_strftime()]] to improve the speed of date/time conversions. 
 +The format is an array: 
 +  * 1st element is date format using [[v5:datetime:adodb_date]] syntax 
 +  * 2nd element is the time format, also in [[v5: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