Python DateTime to String ISO 8601
from datetime import datetime
my_date = datetime.now()
print(my_date.strftime('%Y-%m-%dT%H:%M:%S.%f%z'))
Danny Mor
from datetime import datetime
my_date = datetime.now()
print(my_date.strftime('%Y-%m-%dT%H:%M:%S.%f%z'))
from datetime import datetime
my_date = datetime.now()
print(my_date.isoformat())