0

I want to convert datetime format to unix timestamp. How can I do this. Could anyone help me ?

import datetime
time_of_day = datetime.datetime.now()
replaced_time = time_of_day.replace(hour=0, minute=0) 
2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.