Skip to main content

Hi!

 

I would like to ask if there is a way to convert a date-time field (from Eventbrite) to add it to a Google Calendar but only the date without the time so that it becomes a whole-day event in the Google Calendar?

Thanks!

Mesmes

Hi @Mesmes 

Good question.

Try using Formatter > Date / Time > Format


Hey @Mesmes, checking in! Did you have any questions about using the Formatter? I know it can be a bit tricky, here’s a page I think may help. Let me know if you still need some help with this! 


Hi @chanelle and @Troy Tessalone ,

Thanks for getting in touch. I am new to Zapier yet. I checkd formatter, but I think I cannot use it with a free plan because it add further steps. Although, I adjusted the Google Form to ask for a YYYY.MM.DD. string instead of a datetime, and I gave this string to the Google Calendar. The starting date works fine, but the Finishing date is somehow always one day earlier than the date. Do you have any idea why this could happen?


@Mesmes

Is the event created on the wrong date, specifically with the month and day switched?

Regardless of the settings in your Google Calendar, data sent through their API (as Zapier does) must be in MM/DD/YYYY format.
So, if you try to send an event for April 7, 2021 as 07/04/2021, Google Calendar will interpret that as July 4, 2021.
The dates need to be in MM/DD/YYYY format to ensure Google Calendar adds the event to the correct date(s).
If your trigger is sending the data in DD/MM format, you can use a Formatter step to reformat the date.

 

https://help.zapier.com/hc/en-us/articles/8495964746381#are-your-timezone-settings-correct--0-4


Hey there @Mesmes!

It looks like Troy may well have found the cause of the issue here. 😀

I did a quick check and couldn’t see a way to change the format of a date field in Google Forms. But perhaps you could get around it by setting the form responses to be saved in a Google Sheet. Then format the columns for the start and end dates in  the spreadsheet directly so they match MM/DD/YYYY (see the Custom date formatting section of this Format numbers in a spreadsheet guide). 

Then have a Zap trigger from any New Spreadsheet Row (Google Sheets) added to that spreadsheet and use the Create Detailed Event (Google Calendar) action to add it to the calendar. That should ensure that the date values the Google Calendar step start and end on the correct days. 

Want to give that a try and let us know if it works?