Forum Discussion
4 Replies
- j_angelevskiContributor III
Hi @smit66,
Yes you can convert datetime to unix timestamp with a Date Time Extractor snap.
First map the datetime in mapper:
Then use a Date Time Extractor snap:
Result:
- smit66New Contributor II
Thank you for your quick response.
- ptaylorEmployee
You can also do it more simply with this expression in a Mapper:
Math.floor(Date.now().getTime() / 1000)
- smit66New Contributor II
Thanks for your response, I’m currently using this solution.