Skip to content

cDateISO::InJanuary()

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

Method InJanuary( )

 public   boolean libdatephp\cDate::InJanuary()

InJanuary() returns true, if the date lies in a January

Example:

use libdatephp;

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

if ( $dt->InJanuary( ) ) do_someting( ) ;

Returns

boolean true, if the date is a day in January

See also

Clone this wiki locally