Current time1

i want only System current time

@Yogita_Gaikwad
Try this expression

DateAndTime.Now.ToString("HH:mm:ss")

image

Hi @Yogita_Gaikwad

try with the below one

DateTime.Now.ToString("yyyy-MM HH:mm:ss")

Regards
Gokul

Get System current date in assign activity

@Yogita_Gaikwad ,
Put assign activity
Current_date left side= right side system.DateTime.Now.ToString(“MM/dd/yyyy”)
M - month, dd- day, yyyy=year .Eg. 08/29/2022
As per your requirment make changes in date format.
Current_date variable as string type.
image

Thanks,
Lakshmi

Duplicate : Current time1 - #3 by Gokul001

i want system current date, time push in database

Have you check with answer by the forum members in the thread.

Don’t create an duplicate topic.

Duplicate Topic

Duplicate : https://forum.uipath.com/t/date/468759/3

@loginerror this user is creating a lot of duplicate topics (With Different User Account)

Regards
Gokul