Code for yesterday's date file download

Someone please tell me the code to download yesterday’s files the date format is (“ddMMyyyy”)
so i want to paste this code in typeinto
the folder name is like this-19062023,16062023

so i want to download yesterday’s file

Hi @Priyesh_Shetty1

DateTime.Now.AddDays(-1).ToString(“ddMMyyyy”)

Hope it helps!!

Hi @Priyesh_Shetty1

You can use this expression for the same:

Now.AddDays(-1).ToString(“ddMMyyyy”)

image

Hope this helps,
Best Regards.

@pravallikapaluri @arjunshenoy it is only typing 2023 in filter section

it should type the whole date like this 19062023

@Priyesh_Shetty1
Can you provide the scrnshot of filter section given

Best regards

@Priyesh_Shetty1

Please provide additional details on the issue that you are currently facing.

Best Regards.

@pravallikapaluri @arjunshenoy there are many folders availabe for various date’s i want to download yesterday’s date folder as u can see in clicked photo

Hi @Priyesh_Shetty1

Can you try typing into the field with the ‘Simulate Type’ property enabled in the Type Into activity?

Best Regards.

@arjunshenoy no it is not typing anything in filter section

@pravallikapaluri @arjunshenoy now bot is typing 062023

@Priyesh_Shetty1
Can you show us the scrnshot of the given expression

@Priyesh_Shetty1

In the Type Into activity, there is a property called ‘Delay Between Keys’. Please set it to 500 ms & check whether you are able to type the entire data.

During this setting, kindly disable the SimulateType & check.

Best Regards.

@arjunshenoy it is typing the date like this in filter section 9062023

it should type like this 19062023

@Priyesh_Shetty1

Now, you can set the DelayBefore property value as 500 ms again & check if it’s typing the entire data.

Best Regards.

@arjunshenoy still it is typing 9062023

@Priyesh_Shetty1

Please share the type into activity & its property screenshots so that we can analyze them.

Best Regards.

@Priyesh_Shetty1
Can you show the properties too

@arjunshenoy @pravallikapaluri


Properties of type into