Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Access the Datetime Object Properties | Python Basics: Date and Time Mastery
Python Basics: Date and Time Mastery
course content

Conteúdo do Curso

Python Basics: Date and Time Mastery

Access 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.

Tarefa

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

Tarefa

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

Mark tasks as Completed
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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.

Tarefa

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

Mark tasks as Completed
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 6
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt