RPA Chanllenge

uiautomation
studio
timespan
convert-to-date

#1

Want to Change uipath default DateTime Format

Uipath DateTime format is set to (mm/dd/yyyy). I want to change the datetime format to (dd/mm/yyyy).

Regards


#2

Hi there @Himanshu.joshi,
Using your DateTime variable, you should be able to amend the format via:

dtmYourVariable.ToString("dd/MM/yyyy")

Thanks in advance,
Josh


#3

Ya but I want to change the uipath default default date time culture


#4

This need generally to be changed in windows settings level, have you tried?

Cheers


#5

Yes i tried to changing the date time culture.But it doesn’t help


#6

send your xaml file i ll check and update you @Himanshu.joshi

Regards,
Arivu


#7

Here is the work of two date format as string

The problem was uipath doesnot consider the second format (Dt) As a date.
Main (7).xaml (7.4 KB)

Regards