0
votes

I am using now() to get current datetime in Dataweave, I would like to format it so special character are removed and I get plain format like this 20200723T1720334450200

1

1 Answers

2
votes

Try

now() as String {"format": "yyyyMMdd'T'HHmmssSSSSSSS"}