Skip to main content
Best answer

How to import dates in to tables from CSV

  • March 27, 2025
  • 7 replies
  • 53 views

JC Mat
Forum|alt.badge.img

Hello, I’m trying to import records to a table with a .csv UTF-8 but the dates are not working fine, on my file had

dd-mm-yyyy

 

 

 

On the tool show this:

 

When the day is less than or equal to 12, it swaps the day and month, but if the day is greater than 12, it keeps it correct. When processed, dates like March 1, or March 12 end up being converted into January 3  and December 3.

 

How should dates be written to prevent this from happening?

Best answer by Troy Tessalone

@JC Mat 

ISO (International Organization for Standardization) date and datetime formats are standardized representations commonly used in APIs, databases, and programming. 

 

ISO Formats for date and datetime:

  • YYYY-MM-DD
  • YYYY-MM-DDTHH:MM:SSZ
  • YYYY-MM-DDTHH:MM:SS±HH:MM
  • YYYY-MM-DDTHH:MM:SS.sssZ

 

 

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

7 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34081 replies
  • March 27, 2025

Hi ​@JC Mat 

Before importing the CSV you may need to first convert the DateTime format in the CSV to be YYYY-MM-DD.


JC Mat
Forum|alt.badge.img
  • Author
  • Beginner
  • 6 replies
  • March 27, 2025

it works with YYYY-MM-DD but with a day before the date, now for the 2025-03-01 save as 2025-02-28 and so on.

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34081 replies
  • March 27, 2025

@JC Mat 
That may be related to the Time Zone settings on the field.


JC Mat
Forum|alt.badge.img
  • Author
  • Beginner
  • 6 replies
  • March 31, 2025

With this format works fine

YYYY-MM-DD-00:00

like 2025-03-22-06:00

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34081 replies
  • Answer
  • March 31, 2025

@JC Mat 

ISO (International Organization for Standardization) date and datetime formats are standardized representations commonly used in APIs, databases, and programming. 

 

ISO Formats for date and datetime:

  • YYYY-MM-DD
  • YYYY-MM-DDTHH:MM:SSZ
  • YYYY-MM-DDTHH:MM:SS±HH:MM
  • YYYY-MM-DDTHH:MM:SS.sssZ

 

 


JC Mat
Forum|alt.badge.img
  • Author
  • Beginner
  • 6 replies
  • April 14, 2025

Thanks a lot, works with:
2025-03-01-06:00

YYYY-MM-DD-06:00


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6780 replies
  • April 15, 2025

That’s awesome ​@JC Mat! A huge thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗