SyntaxFix
Write A Post
Hire A Developer
Questions
You can convert like this.
date = datetime.datetime.strptime('2019-3-16T5-49-52-595Z','%Y-%m-%dT%H-%M-%S-%f%z') date_time = date.strftime('%Y-%m-%dT%H:%M:%S.%fZ')