Save Excel with current date and time in the format: Aug07_2021_12.15_PM

Save Excel with current date and time in the format: Aug07_2021_12.15_PM

Hi

Welcome to uipath forum

Use a MOVE FILE ACTIVITY where in the from property mention the current filepath of the file and in TO property mention like this

Path.GetDirectoryName(FileNameWithPath)+”\”+DateTime.Now.ToString(“MMMdd_yyyy_hh_mm_tt”)+”.xlsx”

Cheers @Sudheer_Kumar1

1 Like

Wow this works perfectly thanks @Palaniyappan

1 Like

Glad

Happy automation @Sudheer_Kumar1

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.