How to apply check in queitem

I want to apply check for queue item data
Like for in queue item having from date and to date
Check is for date is valid or in dd-MM-yyyy format and not null

@Anil_Potekar

Please use

`

DateTime.TryParseExact(in_TransactionItem.SpecificContent(“FromDate”).ToString, “dd-MM-yyyy”, System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.None, Nothing)

`

This will return true or false based on date if valid or not

image

Hope this helps

cheers

1 Like

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