How to pass date and fix time in Get Queue item Activity?

Hi, Team,

I want to pass current date and time in Get Queue item Activity, from , To field

but I want to pass the time 12 Am to 11: 55pm time should not change, Date is current date
by using variable how can I do this?

Hi @Sanket_Shinde1

Try this

currentDate = DateTime.Now.Date

 fromDate = currentDate
 toDate = currentDate.AddHours(23).AddMinutes(59).AddSeconds(59)

Get Queue Items activity:
   From: fromDate
   To: toDate

Regards,

1 Like

Hi @Sanket_Shinde1

Try this:

Regards

1 Like

Thank You So Much Both of You!!!

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