Skip to main content
Best answer

Date Format From Gmail Gets Day/Year Wrong

  • January 16, 2021
  • 3 replies
  • 210 views

I’m trying to extract the year from date component of a Gmail message. In the attached screenshot, the date pulled from Gmail is Jan 12, 2020.

Zapier is seeing this as Jan 6, 2022 though. I checked the drop down for the “From Format”, but all the options are some variation of Jan 6, 2022.

Any ideas how I can do this? All I want to do is extract the year from the Gmail date and then use that year in the next step of my Zap.

Thanks!

 

Best answer by Troy Tessalone

Hi @pfriend33 

Try specifying a From Format in the Formatter step, that ought to correct the issue.

 

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

3 replies

Ennes
Forum|alt.badge.img+5
  • Tinkerer
  • 130 replies
  • January 16, 2021

Hey @pfriend33,

this seems weird. Did you try testing it with different samples? Is it like this with every sample from gmail mails?

Best Wishes


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34066 replies
  • Answer
  • January 16, 2021

Hi @pfriend33 

Try specifying a From Format in the Formatter step, that ought to correct the issue.

 


  • Author
  • Beginner
  • 1 reply
  • January 16, 2021

I setup a custom date format string and it has done the trick. This is the one I used

ddd, D MMM YYYY HH:mm:ss Z

Thanks everyone!