Skip to content

cDate::DOM()

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

Method DOM( )

 public   integer libdatephp\cDate::DOM()

DOM() aka "Day Of Month" returns the one-based day number of the date in the month

Example:

use libdatephp;

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

echo $dt->DOM( );

Returns

integer the number of he day in the month

See also

Clone this wiki locally