mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-24 14:36:09 -04:00
Implement StartDateTimeSecs
This commit is contained in:
@@ -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() ) {
|
||||
|
||||
Reference in New Issue
Block a user