I’m confused about how the bot gets the date. I just want to get the current system/machine’s date
As you can see, it’s showing 18/10/2021 however, the date in the virtual machine is already 19/10/2021.
I am just using this code to display the date - Date.Now.ToString(“dd/MM/yyyy”). Now, if I logged in to the virtual machine and run the code, it will show me 19/10/2021 which is the current date in the virtual machine. However, when running it via the orchestrator (using the same virtual machine) the value becomes 18/10/2021. Btw, the date in the BOX is assigned to a variable, I’m just showing it in the logs.
I’m not sure what is happening. Date.Now.ToString(“dd/MM/yyyy”) should get the machine’s date right? Please advise.