Best answer

Generating a timestamp

  • 19 July 2019
  • 4 replies
  • 1694 views

Userlevel 1

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


icon

Best answer by StuartJLans 20 July 2019, 20:50

View original

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

Userlevel 3

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.


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.


Userlevel 1

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


Userlevel 3

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.