Excelのセルに、ggge"年"m"月" のユーザ定義型の書式を設定し、
UiPathからそのセルに2018/9/13 の様な文字列をWrite Cellした際、
書式が反映されず、2018/9/13 のまま表示されます。
セルをダブルクリック→Enterをすると、書式が反映されます。
ダブルクリックなしで、書式が即時に反映されるようにすることは
できますでしょうか。
Assign to a date variable: Convert.ToDateTime(dt.Rows(0)(“YourDate”).ToString).Date
Then while feeding it in your website convert your date as below
DateTime.ParseExact(convertedDate.ToString(“MM/dd/yyyy”), “MM/dd/yyyy”, Nothing).ToString(“dd-MM-yyyy”)
refer: