Skip to main content
Best answer

Generating a timestamp

  • July 19, 2019
  • 4 replies
  • 2886 views

pauljlange

Often I have integrations that don't pass on a timestamp but where it is desirable to have on passed through to the next action.

I've tried several things using formatter. Nothing worked properly.

Does anyone have a quick and easy way to achieve this?

Many thanks in advance

P


Best answer by StuartJLans

Hey Paul,


You probably want to check this page out - https://zapier.com/help/modifying-dates-and-times/. Putting it simply, if you want to put a timestamp, you can quite often feed this directly into your zap - {{zap_meta_human_now}}


If you need the formatting to be different, then you can do a date formatting step using the formatter to change that code snippet to anything you need.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

StuartJLans
  • Answer
  • July 20, 2019

Hey Paul,


You probably want to check this page out - https://zapier.com/help/modifying-dates-and-times/. Putting it simply, if you want to put a timestamp, you can quite often feed this directly into your zap - {{zap_meta_human_now}}


If you need the formatting to be different, then you can do a date formatting step using the formatter to change that code snippet to anything you need.



  • July 20, 2019

I just found that same shortcut yesterday!


You can even have it automatically adjust for timezones. For that just use: {{zap_meta_pdt_iso}}, where you can replace "pdt" with whatever timezone you need.



pauljlange
  • Author
  • September 17, 2019

Thanks @StuartJLans and @JimMoore So very much appreciated. I never saw a notification for the response and thought I better check. Clearly I back-burnered this until now :-)

Do either of you know a way to use {{zap_meta_human_now}} so that the output is just DD/MM/YYYY?

Many thanks

P



StuartJLans

You would have to follow up the initial {{zap_meta_human_now}} with a formatter step where you can format the date into any format you want including the DD/MM/YYYY format.