# Creating/Updating Contact from Gravity Forms using Zapier date incorrect

**URL:** <https://community.hubspot.com/t/creating-updating-contact-from-gravity-forms-using-zapier-date-incorrect/3992>\
**Category:** Marketplace Apps\
**Created:** [November 24, 2017, 7:27am UTC](https://community.hubspot.com/t/creating-updating-contact-from-gravity-forms-using-zapier-date-incorrect/3992 "2017-11-24T07:27:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![t\_stania](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/t_stania/32/44643_2.png) [@t\_stania](https://community.hubspot.com/u/t_stania)\
**Post date:** [November 24, 2017, 7:27am UTC](https://community.hubspot.com/t/creating-updating-contact-from-gravity-forms-using-zapier-date-incorrect/3992/1 "2017-11-24T07:27:59Z")

</div>

Hi,

I am using Zapier to gather information from a submitted Gravity Form and push the information into a new or existing contact.

The problem is, within Zapier, the step that involves taking the date as YYYY-MM-DD does an incorrect converstion to Unix Time.

Data Out is shown as 1510444800000. But data in is 2017-11-13. 1510444800000 when converted back to Unix time is 2017-11-12 which is incorrect. This value is then pushed into Hubspot. So, the date is always -1 day…And I have no Idea why. Has it got to do with my timezones? I’m in Australia

 ![dataout.JPG](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/5d38908cac142ceab9a26004f2c5ab09d439cdfa.jpeg)  
data out  
 ![Data In.JPG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/c/cce99b1e2b989a650b4ccb780b9fc353a83e9f3c.jpeg)  
data in

---

<div class="post-metadata">

**Author:** ![t\_stania](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/t_stania/32/44643_2.png) [@t\_stania](https://community.hubspot.com/u/t_stania)\
**Post date:** [November 24, 2017, 7:32am UTC](https://community.hubspot.com/t/creating-updating-contact-from-gravity-forms-using-zapier-date-incorrect/3992/2 "2017-11-24T07:32:19Z")

</div>

Ok, so I’ve answered my own question- (I hate it when that happens ;). Zapier timezone was set to Australia (GMT +10). I changed back to UTC and now it works.

---

<div class="post-metadata">

**Author:** ![Jenny](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenny/32/24_2.png) [@Jenny](https://community.hubspot.com/u/Jenny)\
**Post date:** [December 4, 2017, 1:55pm UTC](https://community.hubspot.com/t/creating-updating-contact-from-gravity-forms-using-zapier-date-incorrect/3992/3 "2017-12-04T13:55:49Z")

</div>

Hey [@t\_stania](https://community.hubspot.com/t5/user/viewprofilepage/user-id/22507),

I am glad you were able to figure out what was going on, and thank you for sharing the answer with the community! 🙂

Jenny
