amit_saroha
4 years agoNew Contributor III
Incorrect date format
Hi,
My requirement is to pass the date as a string “YYYY/MM/DD HH:MI:SS” as a parameter to Oracle procedure snap. I amssusing the expression - Date.now().toLocaleDateString({“format”:“yyyy/MM/dd HH:mm:ss”}).toString()
I can see the correct format in the value but while it is passed as a parameter it always has additional characters as below -
Could you please suggest how I can correct this expression?