Skip to content

cDateTime::Day()

Rainer Stötter edited this page Apr 28, 2017 · 9 revisions

Method Day( )

 public   integer libdatephp\cDateTime::Day()

Day( ) returns the day part of the timestamp

Example:

use libdatephp;

$dtm = new cDateTime( '2016-12-22 05:00:00' );

echo $dtm->Day( );

Returns

integer the day part of the timestamp

Clone this wiki locally