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
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:
DateTime.ParseExact(datetimevar, “MM/dd/yyyy”, CultureInfo.InvariantCulture).ToString(“dd.MM.yy”)
Try this
thx for your response, let me try
@Ridwan_Satrio
Try
Cdate("input ".ToString)