Skip to content

cDateISO::DOW()

Rainer Stötter edited this page May 9, 2017 · 1 revision

Method DOW( )

 public   integer libdatephp\cDate::DOW()

DOW() aka "Day Of Week" returns the day number of the date in the week. Same as Weekday( )

Example:

use libdatephp;

$dt = new cDate( 11, 23, 2016 );

echo $dt->DOW( );

Returns

integer the number of he day in the week

See also

Clone this wiki locally