How to get the queue count?

Hello All,

I need to get the queue counts which are added in current date, i.e whatever the queue added on 04/12/2024(today), I need to get the count.

Please help me on this.

Hi @naveen.s

Can you try the below

Cdate(Now.ToString("MM/dd/yyyy 00:00:00"))

Regards,

@lrtetala If I want to fetch for every 2 hours means??

@naveen.s

This way, you’ll get the queue items that were added in the last 2 hours.

CDate(Now.AddHours(-2).ToString("MM/dd/yyyy HH:mm:ss"))

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.