Skip to content

cDateISO::Day()

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

Method Day( )

 public   integer libdatephp\cDate::Day()

Day() returns the day part of the date without leading zeroes

Example:

use libdatephp;

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

echo $dt->Day( );

Returns

integer the day part without leading zeroes

See also

Clone this wiki locally