Answers for "how to create datetime from negative epoch in python"

0

how to create datetime from negative epoch in python

import datetimne as dt #add a namespace if using other datetime import statements like timedelta, etc.
dt.datetime(1970, 1, 1) + dt.timedelta(milliseconds=-3739996800000)
Posted by: Guest on February-08-2021

Code answers related to "how to create datetime from negative epoch in python"

Python Answers by Framework

Browse Popular Code Answers by Language