Inputed current time: 2020-10-22 06:30:12
Gregorian
Define Description Output result
Default Default 2020-10-22 06:30:12
Carbon->toAtomString() ATOM format 2020-10-22T06:30:12+00:00
Carbon->toCookieString() Cookie format Thursday, 22-Oct-2020 06:30:12 UTC
Carbon->toIso8601String() ISO 8601 format 2020-10-22T06:30:12+00:00
Carbon->toISOString() ISO format 2020-10-22T06:30:12.245820Z
Carbon->toJSON() JSON format 2020-10-22T06:30:12.245820Z
Carbon->toIso8601ZuluString ISO-8601-Zulu 2020-10-22T06:30:12Z
Carbon->toDateTimeLocalString() Date time local 2020-10-22T06:30:12
Carbon->toRfc822String() RFC 822 format Thu, 22 Oct 20 06:30:12 +0000
Carbon->toRfc850String() RFC 850 format Thursday, 22-Oct-20 06:30:12 UTC
Carbon->toRfc1036String() RFC 1036 format Thu, 22 Oct 20 06:30:12 +0000
Carbon->toRfc1123String() RFC 1123 format Thu, 22 Oct 2020 06:30:12 +0000
Carbon->toRfc2822String() RFC 2822 format Thu, 22 Oct 2020 06:30:12 +0000
Carbon->toRfc3339String() RFC 3339 format 2020-10-22T06:30:12+00:00
Carbon->toRfc7231String() RFC 7231 format Thu, 22 Oct 2020 06:30:12 GMT
Carbon->toRssString() RSS format Thu, 22 Oct 2020 06:30:12 +0000
Carbon->toW3cString() W3C format 2020-10-22T06:30:12+00:00
Carbon->year Year (int) 2020
Carbon->yearIso Year of ISO 8601 (int) 2020
Carbon->isLeapYear() Is leap year 1
Carbon->month Month (int) 10
Carbon->locale($locale)->shortMonthName Localized short month name Oct
Carbon->locale($locale)->monthName Localized moonth name October
Carbon->daysInMonth Day of month 31
Carbon->weekOfYear Week number 43
Carbon->weekOfMonth Week of month 4
Carbon->day Day (int) 22
Carbon->locale($locale)->dayName Localized weekday name Thursday
Carbon->locale($locale)->shortDayName Localized shortly weekday name Thu
Carbon->locale($locale)->minDayName Localized short weekday name Th
Carbon->dayOfWeek Week number (Start 0 is Sunday, to 6 is Saturday) 4
Carbon->dayOfWeekIso Week number (Start 1 is Sunday, to 7 is Saturday) 4
Carbon->dayOfYear Day of year (int) 296
Carbon->hour Hours (0-23) 6
Carbon->minute Minutes (0-59) 30
Carbon->second Seconds (0-59) 12
Carbon->micro milli seconds 245820
Carbonmeridiem() (AM/PM) AM
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) 1603348212