Skip to content

cDateISO::SetMonth()

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

Method SetMonth( )

 public   mixed libdatephp\cDate::SetMonth(integer $m)

SetMonth() sets the month part of the date

Example:

use libdatephp;

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

$dt->SetMonth( 11 );

Arguments

  • $m integer - <p>the month part</p>

See also

Clone this wiki locally