ActionScheduler_DateTime::getTimestamp()
Get the unix timestamp of the current object.
Missing in PHP 5.2 so just here so it can be supported consistently.
Method of the class: ActionScheduler_DateTime{}
No Hooks.
Return
Int
.
Usage
$ActionScheduler_DateTime = new ActionScheduler_DateTime(); $ActionScheduler_DateTime->getTimestamp();
ActionScheduler_DateTime::getTimestamp() ActionScheduler DateTime::getTimestamp code WC 9.5.1
public function getTimestamp() { return method_exists( 'DateTime', 'getTimestamp' ) ? parent::getTimestamp() : $this->format( 'U' ); }