def format_datetime(dt):
    return dt.strftime("%Y-%m-%dT%H:%m:%S")
Format a datetime for use in HealthVault requests.
dataset/ETHPy150Open orcasgit/python-healthvault/healthvaultlib/healthvault.py/format_datetime