from datetime import datetime
today=datetime.today().strftime('%Y,%m,%d')
start=dt.date(2017,9,22)
end = dt.date(today)
I want to get today timestamp in python, I tried this with error
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-57-e64689f2e644> in <module>
4
5 start=dt.date(2017,9,22)
----> 6 end = dt.date(today)
7
8 s=dt.date(2020,9,16)
TypeError: an integer is required (got type str)