def format_date(date):
    return date.strftime(DATE_FORMAT)
Returns a formatted date string in a CloudTrail date format
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/validation.py/format_date