Inputed current time: 2021-04-19 12:28:34
Gregorian
Define Description Output result
Default Default 2021-04-19 12:28:34
Carbon->toAtomString() ATOM format 2021-04-19T12:28:34+00:00
Carbon->toCookieString() Cookie format Monday, 19-Apr-2021 12:28:34 UTC
Carbon->toIso8601String() ISO 8601 format 2021-04-19T12:28:34+00:00
Carbon->toISOString() ISO format 2021-04-19T12:28:34.582500Z
Carbon->toJSON() JSON format 2021-04-19T12:28:34.582500Z
Carbon->toIso8601ZuluString ISO-8601-Zulu 2021-04-19T12:28:34Z
Carbon->toDateTimeLocalString() Date time local 2021-04-19T12:28:34
Carbon->toRfc822String() RFC 822 format Mon, 19 Apr 21 12:28:34 +0000
Carbon->toRfc850String() RFC 850 format Monday, 19-Apr-21 12:28:34 UTC
Carbon->toRfc1036String() RFC 1036 format Mon, 19 Apr 21 12:28:34 +0000
Carbon->toRfc1123String() RFC 1123 format Mon, 19 Apr 2021 12:28:34 +0000
Carbon->toRfc2822String() RFC 2822 format Mon, 19 Apr 2021 12:28:34 +0000
Carbon->toRfc3339String() RFC 3339 format 2021-04-19T12:28:34+00:00
Carbon->toRfc7231String() RFC 7231 format Mon, 19 Apr 2021 12:28:34 GMT
Carbon->toRssString() RSS format Mon, 19 Apr 2021 12:28:34 +0000
Carbon->toW3cString() W3C format 2021-04-19T12:28:34+00:00
Carbon->year Year (int) 2021
Carbon->yearIso Year of ISO 8601 (int) 2021
Carbon->isLeapYear() Is leap year
Carbon->month Month (int) 4
Carbon->locale($locale)->shortMonthName Localized short month name Apr
Carbon->locale($locale)->monthName Localized moonth name April
Carbon->daysInMonth Day of month 30
Carbon->weekOfYear Week number 16
Carbon->weekOfMonth Week of month 3
Carbon->day Day (int) 19
Carbon->locale($locale)->dayName Localized weekday name Monday
Carbon->locale($locale)->shortDayName Localized shortly weekday name Mon
Carbon->locale($locale)->minDayName Localized short weekday name Mo
Carbon->dayOfWeek Week number (Start 0 is Sunday, to 6 is Saturday) 1
Carbon->dayOfWeekIso Week number (Start 1 is Sunday, to 7 is Saturday) 1
Carbon->dayOfYear Day of year (int) 109
Carbon->hour Hours (0-23) 12
Carbon->minute Minutes (0-59) 28
Carbon->second Seconds (0-59) 34
Carbon->micro milli seconds 582500
Carbonmeridiem() (AM/PM) PM
Carbon->timezone Timezone UTC
Carbon->tzName Timezoone name UTC
Carbon->isDST() Is this time summer time ? (TRUE or FALSE) false
Carbon->timestamp Unix time (Epoc time since Jan 1st. 1970) 1618835314