Dynamic time required

I am trying to rename a file according to the current date and time.
i have taken a variable called current_date in recorded variable as type “date and time”.
it is giving me the current date only and i also want current time for renaming purpose.
Is there any way to do that?

Hi @sonali_parida DateTime variable contains the time, too.
Make sure the format you selected when converting the DateTime variable to a String has the time

sample recording - date-and-time.zip (649 Bytes)

Thank you so much…I did not take the constant value ,so i was not getting the dynamic time.

1 Like