Forum Discussion

Vinodreddyd's avatar
Vinodreddyd
New Contributor
8 years ago

Duplicates and Non Duplicates

Please provide the best way to do this

  • darshthakkar's avatar
    darshthakkar
    Valued Contributor

    Thank you @siwadon for your response but where did you find a colon ':' in the file name?

    • siwadon's avatar
      siwadon
      Employee

      Sorry for not being more specific.

      I’m not sure about the expression you are using right now. But the output of Date.now() will contain colons in the time format, 2022-04-29T19:32:29.079 UTC.

      Similarly, with the expression Date.now().toLocaleDateTimeString({"format":"yyyyMMddHH:mm:ss"}), you will still get the colons in the final output. If you are using this expression, you can try removing or replacing those colons with other characters. For example, {"format":"yyyyMMddHH-mm-ss"}.