Skip to content

cDateISO::Month()

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

Method Month( )

 public   integer libdatephp\cDate::Month()

Month() returns the month part of the date without leading zeroes

Example:

use libdatephp;

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

echo $dt->Month( );

Returns

integer the month without leading zeroes

See also

Clone this wiki locally