Tribe__Date_Utils::dateOnly( int|string $date, bool $isTimestamp = false )

Deprecated camelCase version of self::date_only


Parameters

$date

(int|string) (Required) The date (timestamp or string).

$isTimestamp

(bool) (Optional) Is $date in timestamp format?

Default value: false


Top ↑

Return

(string) The date only in DB format.


Top ↑

Source

File: src/Tribe/Date_Utils.php

		public static function dateOnly( $date, $isTimestamp = false ) {
			_deprecated_function( __METHOD__, '3.11', __CLASS__ . '::date_only' );
			return self::date_only( $date, $isTimestamp );
		}