I want to get the count of emails that i have received in between 12am to 23:59 pm on a particular date. please help.
Outlook
11:59PM
Thanks
Okay, you are using 12 am as which is 12 hr format and 23.58 is 24 hr format
so better you give 0:00 to 23.58
Refer below post for your reference
Hope this may help you
Thanks
Thanks for providing the solution but it is not working because i want to get the count of emails that i have received today.
Check as below
Use Filter option in Get Outlook Message as below
" [ReceivedTime] >= ‘02/23/2021’ AND [ReceivedTime] <= ‘02/23/2021’ "
Now declare a variable for output
Use a Message box and write as Variable.Count.ToString
Hope this may help you
Thanks
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
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.