Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
course content

Course Content

Python Basics: Date and Time Mastery

Access the Datetime Object PropertiesAccess the Datetime Object Properties

We have now completely familiar with datetime objects! This chapter will be an easy one for us, I guess... Once you have created a dt object, you can access its properties using the appropriate attributes.

Task

Access the year, month, hour, and minute via the attributes.

Mark tasks as Completed

Everything was clear?

Section 1. Chapter 6
AVAILABLE TO ULTIMATE ONLY
course content

Course Content

Python Basics: Date and Time Mastery

Access the Datetime Object PropertiesAccess the Datetime Object Properties

We have now completely familiar with datetime objects! This chapter will be an easy one for us, I guess... Once you have created a dt object, you can access its properties using the appropriate attributes.

Task

Access the year, month, hour, and minute via the attributes.

Mark tasks as Completed

Everything was clear?

Section 1. Chapter 6
AVAILABLE TO ULTIMATE ONLY
some-alt