Skip to content

cDateISO::IsTuesday()

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

Method IsTuesday( )

 public   boolean libdatephp\cDate::IsTuesday()

IsTuesday() returns true, if the date is a tuesday

Example:

use libdatephp;

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

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

Returns

boolean true, if the date is a tuesday

See also

Clone this wiki locally