I am using
“system.now.date” but it says that now is not a member of system, Please tell me??
I am using
“system.now.date” but it says that now is not a member of system, Please tell me??
Hi @balkishan,
Just search on the forum !
https://forum.uipath.com/search?q=get%20current%20date
Thanks and best regards,
Susana
DateTime.Now
will give the current date.
I need only current date not time
DateTime is the namespace. It contains all the date and time methods.
If you want today’s date in a string format -
strDate = DateTime.Now.ToString("dd/MM/yyyy")
Yes I want bro 29-Apr-2019 in this format
strDate = DateTime.Now.ToString("dd-MMM-yyyy")
@KarthikByggari Thanks a lot it worked!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.