Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Cake
Chronos
Traits
DifferenceTrait
secondsSinceMidnight
Cake\Chronos\Traits\DifferenceTrait::secondsSinceMidnight PHP Метод
Документация по трейту DifferenceTrait
Показать файл
Открыть проект
secondsSinceMidnight()
публичный
Метод
The number of seconds since midnight.
public
secondsSinceMidnight
( ) :
integer
Результат
integer
public function secondsSinceMidnight() { return $this->diffInSeconds($this->copy()->startOfDay()); }
DifferenceTrait
diffFiltered
diffForHumans
diffFormatter
diffInDays
diffInDaysFiltered
diffInHours
diffInHoursFiltered
diffInMinutes
diffInMonths
diffInSeconds
diffInWeekdays
diffInWeekendDays
diffInWeeks
diffInYears
fromNow
secondsSinceMidnight
secondsUntilEndOfDay