Skip to content

cDate::IsSaturday()

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

Method IsSaturday( )

 public   boolean libdatephp\cDate::IsSaturday()

IsSaturday() returns true, if the date is a saturday

Example:

use libdatephp;

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

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

Returns

boolean true, if the date is a saturday

See also

Clone this wiki locally