Skip to content

cDate::IsMonday()

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

Method IsMonday( )

 public   boolean libdatephp\cDate::IsMonday()

IsMonday() returns true, if the date is a monday

Example:

use libdatephp;

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

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

Returns

boolean true, if the date is a monday

See also

Clone this wiki locally