Recent Date

Hi @0bb4628e217fd43ac86ac9294

Try this syntax:

mostRecentDate = (From row In yourDataTableVariable.AsEnumerable()
                  Let currentDate = DateTime.ParseExact(row("TrDate").ToString(), "your_date_format_here", CultureInfo.InvariantCulture)
                  Order By currentDate Descending
                  Select currentDate).First().ToString("dd-MM-yyyy")

mostRecentDate is of Datatype System.String

Regards