How to get system current date only?



hello ,how to get the current date, but i don’t want time. How to get system current date only?


@suraj23 assign datetime dt = Now
assign string a = dt.ToString(“dd/MM/yyyy”)


Hi suraj23,

Use this:

You can change the date format according to your need.



yes i tried but still showing me time,will send u my workflow kindly check DateAndTimeVariable.xaml (6.3 KB)


@suraj23 You can check it now

DateAndTimeVariable.xaml (7.2 KB)


still showing 00 in my excelData.xlsx (367.9 KB)


in sys_date column


@suraj23 In write value change timToday.ToString to a.toString

DateAndTimeVariable.xaml (7.1 KB)


if it still writes time check excel cell formatting


ya done thanks a lot