Hi all
@ImPratham45
I use LookUp to find dynamic cell and + - number if the value is known how many rows to look for.
I want get the value cell (13-Mar-2023) upper dynamic cell (Model of Payment) but I down’t know how many empty rows. how can get this value
DLV010 - Copy (1).xaml (14.0 KB)
After reading data try filtering the column with empty …and then they would be side by side…so find mode of payment and then immediate top row would be the date
cheers
Thank all,
I use UiPath.Excel.Helpers.ExcelUtilities.ConvertColumnLetterToColumnIndex(“Var”)
output like: 01/19/2023 00:00:00 (MM/dd/yyyy 00:00:00)
help me change 19/01/2023 (dd/MM/yyyy)
thank you
@anh.nguyen ,
Try this,
DateTime.ParseExact("01/19/2023","MM/dd/yyyy",CultureInfo.InvariantCulture).ToString("dd/MM/yyyy")
Note : Please Import System.Globalization
Regards,
my output is object var: dt
DateTime.ParseExact(dt.ToString,“MM/dd/yyyy”,CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”)
o
@anh.nguyen ,
I believe dt is your data table right?
Actually you have to mention the date value there which is in MM/dd/yyyy format.
Regards,
@anh.nguyen ,
Please provide dt1 instead of dt here
Try like this,
DateTime.ParseExact( dt1,"MM/dd/yyyy hh:mm:ss",CultureInfo.InvariantCulture).ToString("dd/MM/yyyy hh:mm:ss")
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.