SyntaxFix
Write A Post
Hire A Developer
Questions
Another way to get datetime UTC with milliseconds.
from datetime import datetime datetime.utcnow().isoformat(sep='T', timespec='milliseconds') + 'Z' 2020-10-29T14:46:37.655Z