I have been trying this code to get the september month as 09 in my code, but later i come to know that 09 is not acceptable in python. But it may displayed as a string only. My question is how to diplay the 09 as an integer?
My code:
september_month = dt.datetime(int(self.year.name),09,30)
print september_month
Error: Invalid token 09 and ValueError: day is out of range for month
This python program runs in odoo version 10 python2.7