Class Carbon\Carbon

extends DateTime
implements CarbonInterface
uses Date

A simple API extension for DateTime.

Methods
Methods inherited from DateTime
__construct(), __serialize(), __unserialize(), __wakeup(), createFromImmutable(), createFromInterface(), getLastErrors(), format(), modify(), add(), sub(), getTimezone(), setTimezone(), getOffset(), setTime(), setDate(), setISODate(), setTimestamp(), getTimestamp(), diff()
Methods used from Carbon\Traits\Date
getTimezone(), copy(), clone(), avoidMutation(), nowWithSameTz(), carbonize(), __get(), get(), __isset(), __set(), set(), getTranslatedDayName(), getTranslatedShortDayName(), getTranslatedMinDayName(), getTranslatedMonthName(), getTranslatedShortMonthName(), dayOfYear(), weekday(), isoWeekday(), getDaysFromStartOfWeek(), setDaysFromStartOfWeek(), setUnitNoOverflow(), addUnitNoOverflow(), subUnitNoOverflow(), utcOffset(), setDate(), setISODate(), setDateTime(), setTime(), setTimestamp(), setTimeFromTimeString(), timezone(), tz(), setTimezone(), shiftTimezone(), utc(), setDateFrom(), setTimeFrom(), setDateTimeFrom(), getDays(), getWeekStartsAt(), setWeekStartsAt(), getWeekEndsAt(), setWeekEndsAt(), getWeekendDays(), setWeekendDays(), hasRelativeKeywords(), setUtf8(), formatLocalized(), getIsoFormats(), getCalendarFormats(), getIsoUnits(), getPaddedUnit(), ordinal(), meridiem(), getAltNumber(), isoFormat(), getFormatsToIsoReplacements(), translatedFormat(), getOffsetString(), __callStatic(), setUnit(), singularUnit(), pluralUnit(), __call(),
Constants inherited from Carbon\CarbonInterface
NO_ZERO_DIFF, JUST_NOW, ONE_DAY_WORDS, TWO_DAY_WORDS, SEQUENTIAL_PARTS_ONLY, ROUND, FLOOR, CEIL, DIFF_ABSOLUTE, DIFF_RELATIVE_AUTO, DIFF_RELATIVE_TO_NOW, DIFF_RELATIVE_TO_OTHER, TRANSLATE_MONTHS, TRANSLATE_DAYS, TRANSLATE_UNITS, TRANSLATE_MERIDIEM, TRANSLATE_DIFF, TRANSLATE_ALL, SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER, YEARS_PER_MILLENNIUM, YEARS_PER_CENTURY, YEARS_PER_DECADE, MONTHS_PER_YEAR, MONTHS_PER_QUARTER, QUARTERS_PER_YEAR, WEEKS_PER_YEAR, WEEKS_PER_MONTH, DAYS_PER_YEAR, DAYS_PER_WEEK, HOURS_PER_DAY, MINUTES_PER_HOUR, SECONDS_PER_MINUTE, MILLISECONDS_PER_SECOND, MICROSECONDS_PER_MILLISECOND, MICROSECONDS_PER_SECOND, WEEK_DAY_AUTO, RFC7231_FORMAT, DEFAULT_TO_STRING_FORMAT, MOCK_DATETIME_FORMAT, ISO_FORMAT_REGEXP
Properties