How to get the system time

studio

#1

Hello!
Who can help me?
How to get the system time


#2

Hi LiWenChao,

Use System.DateTime.Now to get current system date and time.

System.DateTime.Now.ToShortTimeString

System.DateTime.Now.ToLongTimeString

You can also get time in specified format using System.DateTime.Now.ToString(“hh-mm-ss”).

DateTime class has multiple methods to get Date and Time in specified formats.

Please check the microsoft library for more details.

.NET Framework Class Library -->System -->DateTime

Regards,
Rahamat


#3

Thank you so much


#4

Any one can help me in getting " System time zone " through UIPath tool, Is that is possible?


#5

Hi @pulapathiswathi,

Please check this link.

Thanks,
Saranya K R


#6

Hi pls follow this …
It talks about getting current time


#7