Skip to content

cDateISO::LOY()

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

Method LOY( )

 public   integer libdatephp\cDate::LOY()

LOY( ) aka "Length of year" returns the number of days in the year the managed date is in

Example:

use libdatephp;

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

echo $dt->LOY( );

Returns

integer the number of days in the year of the managed date

See also

Clone this wiki locally