How to get ISO8601 string for datetime with milliseconds instead of microseconds in python 3.5 How to get ISO8601 string for datetime with milliseconds instead of microseconds in python 3.5 python-3.x python-3.x