Tribe__Events__Timezones::event_start_timestamp( int $event_id, string $timezone = null )

Returns a timestamp for the event start date that can be passed to tribe_format_date() in order to produce the time in the correct timezone.


Parameters #

$event_id

(int) (Required)

$timezone

(string) (Optional)

Default value: null


Top ↑

Return #

(int)


Top ↑

Source #

File: src/Tribe/Timezones.php

	public static function event_start_timestamp( $event_id, $timezone = null ) {
		return self::get_event_timestamp( $event_id, 'Start', $timezone );
	}