Is there any possibility there to change the date in windows XP machine using UIPath

Is there any possibility there to change the date in windows XP machine using UIPath

Hi @Selvaganesh

Welcome to the community!

For my perception yes its possible!

cheers

Happy learning

2 Likes

Hi welcome to UiPath community
May I know where we want to change the date in that windows XP Machine

Kindly elaborate a bit more in it so that we could go in a right direction to resolve this

Cheers @Selvaganesh

2 Likes

Hey Dude,
Thanks for the prompt response.
could you please share any hints how to do?

1 Like

Hi Palani,
Thanks a lot for the interest to resolve.
I have a client requirement that they used very old oracle application in windows xp machine.
So, in that application one drop down is there to change the date as current date of the month. or we can say the last date of the current month.
That process is a month end process.

1 Like

Yes, you can use Microsoft.VisualBasic namespace to change the system date and time. Note that you need local admin access to perform the action though.

In an assign activity, on the left side put in Microsoft.VisualBasic.TimeOfDay and on the right side put in the datetime variable you’d like to change it to. For example Assign Microsoft.VisualBasic.TimeOfDay = Now.AddHours(-1) would move the clock back one hour from the current time

1 Like

Thanks Dave for your quick solution.
I am really appreciate and thank you to solve this.
Let me check and revert incase of any doubts or queries if requires.

Hi @Selvaganesh

No problem dude, just post your inquiry in our community and a lot of good dudes here that will attend to your issue.

cheers :smiley:

Happy learning :smiley:

2 Likes