I want to get the count of emails that i have received in between 12am to 23:59 on a particular date. please help

Hi @ashish.tyagi, Hope below solution will work for you
Assign
var_Int_Count = list_MailMessages.Where(function(x) Convert.ToDateTime(x.Date).ToString(“dd/MM/yyyy”)=Date.Now.ToString(“dd/MM/yyyy”)).Count

1 Like