Skip to content

cDate::SetTimeStamp()

Rainer Stötter edited this page May 9, 2017 · 15 revisions

Method SetTimeStamp( )

 public   mixed libdatephp\cDate::SetTimeStamp(integer $j)

SetTimeStamp() sets the date according to a timestamp

Example:

use libdatephp;

$dt = new cDate( 11, 23, 2016 );

$dt->SetTimeStamp( 116666 );

Arguments

  • $j integer - <p>the timestamp</p>

See also

Clone this wiki locally