Skip to main content
Best answer

Generating a timestamp


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.


View original
Did this topic help you find an answer to your question?
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

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.



  • 0 replies
  • 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
  • 2 replies
  • 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.