Skip to content

cDateTime::SetNow()

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

Method SetNow( )

 public   mixed libdatephp\cDateTime::SetNow()

sets the timestamp to the actual point of time.

Example:

use libdatephp;

$dtm = new cDateTime( '22.12.2016 05:00:00' );

$dtm->SetNow( )

Clone this wiki locally