title: What gonna happen if you set an outdated 'Date' in Lifecycle Rule AWS S3?
body: <p>Currently, I am working on a project which has an s3 compliant server and I don't know how to handle the following condition.</p>
  <p>Assume I have one object <code>aws/test.txt</code> and I want to delete it on a specific date which is before today. Today is <code>22 June 2022</code>, the midnight UTC time is <code>2022-06-22T00:00:00+00:00</code>, what gonna happen if I set an outdated date like <code>2022-06-21T00:00:00+00:00</code> to the lifecycle rule? Will s3 delete the object right now or do nothing?</p>
  <p>Here is an example lifecycle JSON file:</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;Rules&quot;: [
          {
              &quot;Expiration&quot;: {
                  &quot;Date&quot;: &quot;2022-06-21T00:00:00+00:00&quot;
              },
              &quot;ID&quot;: &quot;rule-1&quot;,
              &quot;Filter&quot;: {
                  &quot;Prefix&quot;: &quot;aws/&quot;
              },
              &quot;Status&quot;: &quot;Enabled&quot;
          }
      ]
  }
  </code></pre>
  <p>Any help will be appreciated.</p>