ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:dow

Differences

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

Link to this comparison view

v5:reference:connection:dow [2016/04/22 03:41]
mnewnham created
v5:reference:connection:dow [2016/04/22 03:47] (current)
mnewnham
Line 1: Line 1:
 ====== dow ====== ====== dow ======
 ~~NOTOC~~ ~~NOTOC~~
 +
 <WRAP right box> <WRAP right box>
 **From Version 5.21.0-beta-2** **From Version 5.21.0-beta-2**
Line 12: Line 13:
   )   )
 </​WRAP>​ </​WRAP>​
-------------------------+ 
 +===== Description ===== 
 +The method ''​dow()''​ is a routine that provides a portable Day-Of-Week number from 0 to 6, starting on a Sunday. ​ Normal day of week functions use varying start days, and offset numbers. For more information on the subject, see [[v5:​reference:​connection:​sqldate|sqlDate()]].  
 + 
 +The start day and numbering matches the [[http://​php.net/​manual/​en/​function.date.php|PHP Date]] function. 
 +===== Parameters ===== 
 +==== $fieldName ==== 
 +The date/time fieldname to be processed 
 + 
 +--------------------------------
 <WRAP right box> <WRAP right box>
 == Values == == Values ==
Line 23: Line 33:
 |6|Saturday| |6|Saturday|
 </​WRAP>​ </​WRAP>​
-===== Description ===== 
-The method ''​dow()''​ is a routine that provides a portable Day-Of-Week number from 0 to 6, starting on a Sunday. ​ Normal day of week functions use varying start days, and offset numbers. For more information on the subject, see [[v5:​reference:​connection:​sqldate|sqlDate()]]. ​ 
- 
-The start day and numbering matches the [[http://​php.net/​manual/​en/​function.date.php|PHP Date]] function. 
-===== Parameters ===== 
-==== $fieldName ==== 
-The date/time fieldname to be processed 
- 
--------------------------------- 
 ===== Usage ===== ===== Usage =====
 <code php> <code php>
v5/reference/connection/dow.txt · Last modified: 2016/04/22 03:47 by mnewnham