04-17-2024 12:49 PM
can someone please help convert string “20240311113047” into TIMESTAMP format? Thank you!
Solved! Go to Solution.
04-18-2024 12:40 AM
Hello @ashis1upreti,
You can try by using the Date.parse() function in a Mapper Snap.
In your case, as a second argument you need to provide the format in which the date is in.
Date.parse("20240311113047","yyyyMMddhhmmss")
Also, you can take a look at the Date.toLocaleDateTimeString() function if you want to format the date.
Please let me know if this helps you.
Regards,
Aleksandar.
04-18-2024 12:40 AM
Hello @ashis1upreti,
You can try by using the Date.parse() function in a Mapper Snap.
In your case, as a second argument you need to provide the format in which the date is in.
Date.parse("20240311113047","yyyyMMddhhmmss")
Also, you can take a look at the Date.toLocaleDateTimeString() function if you want to format the date.
Please let me know if this helps you.
Regards,
Aleksandar.
05-01-2024 01:42 PM
Thanks angel!