MCPcopy Create free account
hub / github.com/ScottfreeLLC/AlphaPy / get_datestamp

Function get_datestamp

alphapy/utilities.py:55–67  ·  view source on GitHub ↗

r"""Returns today's datestamp. Returns ------- datestamp : str The valid date string in YYYY-mm-dd format.

()

Source from the content-addressed store, hash-verified

53#
54
55def get_datestamp():
56 r"""Returns today's datestamp.
57
58 Returns
59 -------
60 datestamp : str
61 The valid date string in YYYY-mm-dd format.
62
63 """
64 d = datetime.now()
65 f = "%Y%m%d"
66 datestamp = d.strftime(f)
67 return datestamp
68
69
70#

Callers 2

training_pipelineFunction · 0.90
save_predictionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected