Skip to content

cDateTime::FromDate()

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

Method FromDate( )

 public   mixed libdatephp\cDateTime::FromDate(\libdatephp\cDate $dt)

FromDate() sets the timestamp to the value represented by the date value

Example:

use libdatephp;

$dt = new cDate( );

$dtm = new cDateTime( $dt );

Arguments

Clone this wiki locally