title: list RDS snapshot created today using Boto 3
body: <p>I am doing a Python Lambda function to describe list of RDS snapshots created today. The challenge is how to convert the datetime.datetime.today() into a format which RDS client understands?</p>
  
  <p>UPDATE: I have implemented some changes suggested, I have added a string variable to convert the date expression into format which Boto3 RDS understands.</p>
  
  <blockquote>
    <p>'SnapshotCreateTime': datetime(2015, 1, 1), </p>
  </blockquote>
  
  <pre><code>today = (datetime.today()).date()
  rds_client = boto3.client('rds')
  snapshots = rds_client.describe_db_snapshots(SnapshotType='automated')
  
  harini = "datetime("+ today.strftime('%Y,%m,%d') + ")"
  print harini
  
  print snapshots
  
  for i in snapshots['DBSnapshots']:
      if i['SnapshotCreateTime'].date() == harini:
          print(i['DBSnapshotIdentifier'])
          print (today)
  </code></pre>
  
  <p>it is still unable to retrieve list of automated snapshots created today</p>