Skip to main content
Answer

About formatter by zapier at jst

  • October 17, 2024
  • 4 replies
  • 33 views

Forum|alt.badge.img

I have Zap running on a schedule every day at 6am.
The mechanism is to get yesterday's date in it and retrieve the record from the table that matches that date.

However, at 6:00 AM, it retrieves not yesterday's date, but the day before yesterday.
The Timezone in the profile has already been corrected to JST (Japan time).
I have a feeling that it probably has something to do with UTC, etc.
“Formatter by Zapier”, I wonder how to set it up to get yesterday's date based on JST.
 

 

Best answer by Troy Tessalone

@Murinhardt 

Help link for inserting system generated timestamps: https://zapier.com/help/create/customize/insert-the-time-your-zap-runs-into-a-field

 

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

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • October 17, 2024

@Murinhardt 

Help link for inserting system generated timestamps: https://zapier.com/help/create/customize/insert-the-time-your-zap-runs-into-a-field

You may also need to set the From Format.

Also, try changing the Expression to: -1 day

 

 


Forum|alt.badge.img
  • Author
  • Beginner
  • October 17, 2024

@Troy Tessalone 

 

Thank you so much.
I changed the date from -1days to -1day.

But when I retest with the current time I get yesterday's date without any problem.
I will probably have to test in the morning Japan time to confirm that it worked, so I will report back tomorrow when I get confirmation.


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • October 17, 2024

@Murinhardt 

Help link for inserting system generated timestamps: https://zapier.com/help/create/customize/insert-the-time-your-zap-runs-into-a-field

 


Forum|alt.badge.img
  • Author
  • Beginner
  • October 17, 2024

@Troy Tessalone 

 

OK, I understand.

I changed setting Input.

now→{{zap_meta_human_now}}

So,I will try it.