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.
Tehtävä
Swipe to start coding
Access the year
, month
, hour
, and minute
via the attributes.
Ratkaisu
Mark tasks as Completed
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 6
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 14.29
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.
Tehtävä
Swipe to start coding
Access the year
, month
, hour
, and minute
via the attributes.
Ratkaisu
Mark tasks as Completed
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 6