Obtenha o atributo do timestamp python

timestamp.year
timestamp.month
timestamp.day
M.U