Timestamp Issue

Hi Team,

How to append timestamp particularly hours and sec at the end of the file name ?
Ex
Test1.png want the file to be saved as Test1_15:30.png
In assign = variable1.ToShortTimeString
Output shows as 15:30 in message box. Updating the same at the end of the file name like - SSFileName+“_”+variable1+“.png”
getting out as Test1_15

Hi @Honda ,

assign variable1 = Now.ToString(“HH-mm”) ’ This formats the time as “15-30”
assign fileName = SSFileName + “_” + variable1 + “.png”

Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.

could you share the screenshot

Kindly note that we cannot save png file format with following charactes. Even if you try manually also - you will get error

Try converting the time to an acceptable format while renaming the file

example - “SSFILeName_” & datetime.now.tostring(hh_mm) & “.png”