SyntaxFix
Write A Post
Hire A Developer
Questions
When the "%f" for micro seconds isn't working, please use the following method:
import datetime def getTimeStamp(): dt = datetime.datetime.now() return dt.strftime("%Y%j%H%M%S") + str(dt.microsecond)