Retrieve data with date time variable using Lookup Data Table

Hi good people, can anyone help me how to retrieve data from excel row with data variable in the form of date time. so I compared 2 pieces of string data to retrieve 1 date time data, but after running I experienced an error like below


image

additional information: I use 2 excel files as input, so it’s not comparing from 2 sheets

btw im try to use assign to create new var with this :
String var=Convert.ToDateTime(datetimevar).ToString(“dd.MM.yy”)

and the result like this:
image

DateTime.ParseExact(datetimevar, “MM/dd/yyyy”, CultureInfo.InvariantCulture).ToString(“dd.MM.yy”)

Try this

thx for your response, let me try

@Ridwan_Satrio
Try :-1:
Cdate("input ".ToString)

@Ridwan_Satrio

image