We have a requirement where we need to Extract Current Hour emails using Get exchange mail activity. Using the below, we can filter today’s email. But we need to extract emails received in current hour.
mailMessagesList.Where(Function(x) DateTime.ParseExact(x.Headers(“Date”), “MM/dd/yyyy HH:mm:ss”, Nothing).Date.Equals(DateTime.Now.Date))
Thanks in Advance.