Skip to content

cDateTime::FromTimestamp()

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

Method FromTimestamp( )

 public   mixed libdatephp\cDateTime::FromTimestamp(integer $tm)

FromTimestamp() sets the timestamp to the value represented by the timestamp

Example:

use libdatephp;

$dtm = new cDateTime( 20178 );

Arguments

  • $tm integer - <p>a cDate value</p>

Clone this wiki locally