Skip to content

cDate::DOY()

Rainer Stötter edited this page May 9, 2017 · 10 revisions

Method DOY( )

 public   integer libdatephp\cDate::DOY()

DOY() aka "Day Of Year" returns the one-based day number of the date in the year

Example:

use libdatephp;

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

echo $dt->DOY( );

Returns

integer the number of he day in the year

See also

Clone this wiki locally