Skip to content

cDateISO::TimeStamp()

Rainer Stötter edited this page May 9, 2017 · 1 revision

Method TimeStamp( )

 public   integer libdatephp\cDate::TimeStamp()

TimeStamp() returns the timestamp of the date - same as AsTimeStamp( )

Example:

use libdatephp;

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

echo $dt->TimeStamp( );

Returns

integer the timestamp

See also

Clone this wiki locally