is done in the same timezone as the current instance.
Carbon has all of the functions inherited from the base Date Time class.
This approach allows you to access the base functionality if you see anything missing in Carbon but is there in Date Time.
You can see from the code snippet above that the Carbon class is declared in the Carbon namespace.
You need to import the namespace to use Carbon without having to provide its fully qualified name each time.
Generally default values are the current date, time or timezone.
Higher values will wrap appropriately but invalid values will throw an defaults to the current timezone and otherwise can be a Date Time Zone instance or simply a string timezone value.
The only special case for default values (mimicking the underlying PHP library) occurs when an hour value is specified but no minutes or seconds, they will get defaulted to 0.
Note: I live in Ottawa, Ontario, Canada and if the timezone is not specified in the examples then the default of 'America/Toronto' is to be assumed.
Typically Ottawa is -0500 but when daylight savings time is on we are -0400.