• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
New Topic
Discussions Recipe Building Formula Mode Questions
S

Saul Macht

started a topic about 5 years ago

Convert Date to Unix Epoch Timestamp

How can I convert a date to a Unix Epoch Timestamp in formula mode?

Patricia Guevarra

said about 5 years ago

Hi Saul,


You can do this by using the following formula after your data pill:


.to_time(format: "_______").to_i


Take note that the format inside the quotes should be based on the format of the date/time in your data pill. You can refer to the following documentation for the syntax: http://docs.workato.com/formulas/date-formulas.html#strftime


I hope this helps!

Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2020   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count