Avatar

Level 1

Hi @Krishnanunni ,

Thanks for your response. 

I tried the below per your solution, I'm still getting the same error.

var NovDate = new Date();

NovDate = formatDate(NovDate, "%4Y%2M%2D%2H%2M%2S");

Is this how you meant earlier?

 

I'm not sure if this is the appropriate syntax:

formatDate(NovDate, "%4Y%2M%2D%2H%2M%2S")

This works with formatDate(new Date(), "%4Y%2M%2D%2H%2M%2S");

 

Thanks!