Returns the start of the day of the current timestamp in UTC. For example,
if the current timestamp is '2007-07-24 14:04:24' in UTC, the result will
be '2007-07-24'.
public getDateStartUTC ( ) : string | ||
return | string |
/** * Returns general bind parameters for all log aggregation queries. This includes the datetime * start of entities, datetime end of entities and IDs of all sites. * * @return array */ protected function getGeneralQueryBindParams() { $bind = array($this->dateStart->getDateStartUTC(), $this->dateEnd->getDateEndUTC()); $bind = array_merge($bind, $this->sites); return $bind; }
protected function getBindDatetimeSite() { return array($this->dateStart->getDateStartUTC(), $this->dateEnd->getDateEndUTC(), $this->site->getId()); }