MCPcopy Index your code
hub / github.com/going-doer/Paper2Code / get_now_str

Function get_now_str

codes/utils.py:437–442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435
436
437def get_now_str():
438 now = datetime.now()
439 now = str(now)
440 now = now.split(".")[0]
441 now = now.replace("-","").replace(" ","_").replace(":","")
442 return now # now - "20250427_205124"

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected