def get_start_time():
    # Return now- 5 minutes
    start_time = datetime.datetime.utcnow() - datetime.timedelta(minutes=5)
    return format_rfc3339(start_time)
dataset/ETHPy150Open GoogleCloudPlatform/python-docs-samples/monitoring/api/v3/custom_metric.py/get_start_time/original