Details about the elements of timetuple
tm_year :Year in YYYY format tm_month: Month in two digits tm_mday :Day of the month th_hour :Hour of the day in 24 hours format tm_min :Minutes in 2 digits tm_sec :Seconds in 2 digits tm_wday :Weekday in number starting with 0 as Sun,1 as Mon ... tm_yday :Day of the year starting from 1st Jan as 1 and 365 as 31st Dec ( not leap year) tm_isdst :Daylight Saving Time as flag. It is greater than 0 if DST is in effect. 0 if DST is not in effect and less than 0 if no information is available.
As we get a tuple we can apply all methods of tuple.
Total Number of elements in output is here ( we will use len())
print(len(dt.timetuple()))
output
9
Value of 2nd element i.e date part of the object. ( first element position is 0 )