Skip to content

cDate::IsSunday()

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

Method IsSunday( )

 public   boolean libdatephp\cDate::IsSunday()

IsSunday() returns true, if the date is a sunday

Example:

use libdatephp;

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

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

Returns

boolean true, if the date is a sunday

See also

Clone this wiki locally