From d9f5d3c35792bdc351eedeff40dfe76a38fff338 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 22 Apr 2023 10:48:41 -0400 Subject: [PATCH] Implement StartDateTimeSecs --- web/includes/Event.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/includes/Event.php b/web/includes/Event.php index 67c058ae3..907623a26 100644 --- a/web/includes/Event.php +++ b/web/includes/Event.php @@ -113,6 +113,13 @@ class Event extends ZM_Object { return $this->{'Time'}; } + public function StartDateTimeSecs() { + return strtotime($this->{'StartDateTime'}); + } + public function EndDateTimeSecs() { + return strtotime($this->{'EndDateTime'}); + } + public function Path() { $Storage = $this->Storage(); if ( $Storage->Path() and $this->Relative_Path() ) {