title: How to get files modified today from Azure Blob Storage
body: <p>I want to get files from Azure Blob Storage that are modified everyday. We have a container in Azure which is filled by two Excel files every day, and I need to get those files.</p>
  
  <p>So far, I'm only able to get one file using <code>latestmodifiedon</code>. How can I get both files?</p>
  
  <pre><code>private static DataSet GetExcelBlobData()
  {
      var containerName = "salesbycontract";
      CloudStorageAccount storageAccount = CloudStorageAccount.Parse(Microsoft.Azure.CloudConfigurationManager.GetSetting("StorageConnectionString"));
  
      CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
      CloudBlobContainer container = blobClient.GetContainerReference(containerName);
      CloudBlockBlob blockbob = container.ListBlobs().OfType&lt;CloudBlockBlob&gt;().OrderByDescending(m =&gt; m.Properties.LastModified).ToList().First();
  
      var x = blockbob.Name;
      Console.WriteLine(x);
  
      DataSet ds;
      using (var memstream = new MemoryStream())
      {
          blockbob.DownloadToStream(memstream);
  
          var excelReader = ExcelReaderFactory.CreateOpenXmlReader(memstream);
          ds = excelReader.AsDataSet();
          excelReader.Close();
      }
      return ds;
  }
  </code></pre>