If the month is: "12" Day is: "05" Year is: "2010"
Can this be converted into a timestamp somehow, in a very simple way?
If the month is: "12" Day is: "05" Year is: "2010"
Can this be converted into a timestamp somehow, in a very simple way?
import datetime
d = datetime.datetime(year=2010,day=5,month=12)
d
datetime.datetime(2010, 12, 5, 0, 0)
In the interest of showing a man how to fish vs giving a man a fish...
A good starting point for these sorts of questions is the Python library documentation. If you look on that page for the word "date" you will easily find the datetime
module.