I have python date object like
datetime.date(2020, 3, 29)
# d1, django DateField in database
Now i want to get UTC timestamp of that date object d1
at midnight
I searched a lot but nothing works.
I tried
d2 = datetime.combine(d1, datetime.min.time())
d2.timestamp() // This is localtimezone i want in UTC
Not sure why i need to add time