Implement StartDateTimeSecs

pull/3692/head
Isaac Connor 2023-04-22 10:48:41 -04:00
parent 312d0ba841
commit d9f5d3c357
1 changed files with 7 additions and 0 deletions

View File

@ -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() ) {