Профиль хирургии
This commit is contained in:
@@ -63,6 +63,16 @@ readonly class DateRange
|
||||
return $this->endDate->getTimestampMs();
|
||||
}
|
||||
|
||||
public function startFirstOfMonth()
|
||||
{
|
||||
return $this->startDate->firstOfMonth()->setHour(6)->format('Y-m-d H:i:s');
|
||||
}
|
||||
|
||||
public function endFirstOfMonth()
|
||||
{
|
||||
return $this->endDate->firstOfMonth()->setHour(6)->format('Y-m-d H:i:s');
|
||||
}
|
||||
|
||||
/**
|
||||
* Проверить, является ли дата сегодняшней
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user