-
Notifications
You must be signed in to change notification settings - Fork 0
cDateTime::Hour()
Rainer Stötter edited this page Apr 28, 2017
·
9 revisions
public integer libdatephp\cDateTime::Hour()
- Namespace : libdatephp
- Class name: cDateTime
- This method is defined by libdatephp\cDateTime
Hour( ) returns the hour part of the timestamp
Example:
use libdatephp;
$dtm = new cDateTime( '2016-12-22 05:00:00' );
echo $dtm->Hour( );
integer the hour part of the timestamp
This wiki page is part of the documentation of the PHP class library libdatephp