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”)
1 Like
Hi suraj23,
Use this:
DateTime.Now.ToString(“dd-MM-yyyy”)
You can change the date format according to your need.
Thanks.
2 Likes
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)
1 Like
if it still writes time check excel cell formatting
ya done thanks a lot
1 Like