Skip to content

cDate::InMarch()

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

Method InMarch( )

 public   boolean libdatephp\cDate::InMarch()

InMarch() returns true, if the date lies in a March

Example:

use libdatephp;

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

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

Returns

boolean true, if the date is a day in March

See also

Clone this wiki locally