How to set deadline for queue item for today only

How to set deadline for queue item for today only

@Anil_Potekar

While adding queue item you have an option to set the deadline in which you can give

Datetime.Parse(Now.ToString("MM/dd/yyyy") + " 23:59:59")

Cheers

1 Like

Not working error shows date

@Anil_Potekar

Try this

Datetime.ParseExact(Now.ToString("MM/dd/yyyy") + " 23:59:59","MM/dd/yyyy hh:mm:ss",System.Globalization.CultureInfo.InvariantCulture)

Cheers

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