MCPcopy Create free account
hub / github.com/FDA/openfda / extract_date

Function extract_date

openfda/common.py:277–298  ·  view source on GitHub ↗

Will transform a timestamp string to valid date string in YYYY-MM-DD format. :param date_str: A string having timestamp in YYYYMMDDhhmmss :return: a date string

(date_str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected