title: Kusto Query Earliest and Latest date in the Past 21 days
body: <p>So I am new to kusto and I am trying to get the min and max dates of the past 21 days in a kusto query and I want to project those min and max dates. </p>
  
  <p>How do I modify this simple query to get the min and max dates of the past 21 days?</p>
  
  <pre><code>customEvents
  | where timestamp &gt;= ago(21d)
  | project timestamp
  </code></pre>