Tribe__Validator__Base::is_time( mixed $value )

Whether the value is a timestamp or a string parseable by the strtotime function or not.


Parameters

$value

(mixed) (Required)


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Validator/Base.php

	public function is_time( $value ) {
		return is_numeric( $value ) || ( is_string( $value ) && strtotime( $value ) );
	}