For each activity clarity regarding

@Kiran_Kumar

Great!! you understood for each

for the second one Now is a property of DateTime

you can keep as DateTime.Now.ToString or Now.ToString both will result same

You can check in UiPath, Place a Message Box and give like above any one and see the results

it will give Date and Time in full

But if you want to change the format of the outcome then we use (yyyy_mm_dd) or (dd_mm_yyyy) also

as your wish how to appear the date format or date time format have to

For more info check my post on conversion of format Convert Date & Time Format Tutorial

Hope this helps you

Thanks