v1.0.0
English

TimeTrait.php

system/I18n/TimeTrait.php
70 fn
__construct (?string $time = null, $timezone = null, ?string $locale = null) function
now ($timezone = null, ?string $locale = null) function
parse (string $datetime, $timezone = null, ?string $locale = null) function
today ($timezone = null, ?string $locale = null) function
yesterday ($timezone = null, ?string $locale = null) function
tomorrow ($timezone = null, ?string $locale = null) function
createFromDate (?int $year = null, ?int $month = null, ?int $day = null, $timezone = null, ?string $locale = null) function
createFromTime (?int $hour = null, ?int $minutes = null, ?int $seconds = null, $timezone = null, ?string $locale = null) function
create (?int $year = null, ?int $month = null, ?int $day = null, ?int $hour = null, ?int $minutes = null, ?int $seconds = null, $timezone = null, ?string $locale = null, ) function
createFromFormat ($format, $datetime, $timezone = null) function
createFromTimestamp (float|int $timestamp, $timezone = null, ?string $locale = null) function
createFromInstance (DateTimeInterface $dateTime, ?string $locale = null) function
instance (DateTime $dateTime, ?string $locale = null) function
toDateTime () function
setTestNow ($datetime = null, $timezone = null, ?string $locale = null) function
hasTestNow () function
getYear () function
getMonth () function
getDay () function
getHour () function
getMinute () function
getSecond () function
getDayOfWeek () function
getDayOfYear () function
getWeekOfMonth () function
getWeekOfYear () function
getAge () function
getQuarter () function
getDst () function
getLocal () function
getUtc () function
getTimezoneName () function
setYear ($value) function
setMonth ($value) function
setDay ($value) function
setHour ($value) function
setMinute ($value) function
setSecond ($value) function
setValue (string $name, $value) function
setTimezone ($timezone) function
addSeconds (int $seconds) function
addMinutes (int $minutes) function
addHours (int $hours) function
addDays (int $days) function
addMonths (int $months) function
addYears (int $years) function
subSeconds (int $seconds) function
subMinutes (int $minutes) function
subHours (int $hours) function
subDays (int $days) function
subMonths (int $months) function
subYears (int $years) function
toDateTimeString () function
toDateString () function
toFormattedDateString () function
toTimeString () function
toLocalizedString (?string $format = null) function
equals ($testTime, ?string $timezone = null) function
sameAs ($testTime, ?string $timezone = null) function
isBefore ($testTime, ?string $timezone = null) function
isAfter ($testTime, ?string $timezone = null) function
humanize () function
difference ($testTime, ?string $timezone = null) function
getUTCObject ($time, ?string $timezone = null) function
getCalendar () function
hasRelativeKeywords (string $time) function
__toString () function
__get ($name) function
__isset ($name) function
__wakeup () function
phpDG v1.0.0 TimeTrait.php 662 files 498 classes 763 fn
Generated