... if it's not specified, and the timezone (the tz keyword argument) to UTC. Otherwise it can be a Timezone instance or simply a string timezone value. Pendulum gives access to more attributes and properties than the default datetime class. The __str__ magic method is defined to allow DateTime instances to be printed as a pretty date string when used in a string context. Simple comparison is offered up via the basic operators.