Forum Discussion
Hi Matt,
You can try with the below expression in your mapper. Hope this helps
Date.parse(“20170617 125254”,“yyyyMMdd hhmmss”).toLocaleDateTimeString({“format”:“yyyy-MM-dd hh:mm:ss”})
The output value will be
Hey Pavan,
Thank you for the reply, I just have a quick question. If I have a input scheme for example $DATE that’s bringing in data, would I just replace “20170617 125254” with the schema?
Have you looked at Configuring a Snaplex Node to Use Custom Logging?
- sg_sripathi6 years agoNew Contributor III
Thanks @dmiller. I should have searched the documentation first, my bad.
Related Content
- 3 months ago
- 3 years ago
- 5 years ago