WordPress at Your Fingertips
function is not described

ActionScheduler_DateTime::getTimestamp() public WC 1.0

Get the unix timestamp of the current object.

Missing in PHP 5.2 so just here so it can be supported consistently.

{} It's a method of the class: ActionScheduler_DateTime{}

No Hooks.

Return

Int.

Usage

$ActionScheduler_DateTime = new ActionScheduler_DateTime();
$ActionScheduler_DateTime->getTimestamp();

Code of ActionScheduler_DateTime::getTimestamp() WC 6.1.1

public function getTimestamp() {
	return method_exists( 'DateTime', 'getTimestamp' ) ? parent::getTimestamp() : $this->format( 'U' );
}