# Custom date format

**URL:** https://community.gravityforms.com/t/custom-date-format/5768
**Category:** Get Help
**Tags:** salesforce, web2lead
**Created:** [August 17, 2020, 9:04am UTC](https://community.gravityforms.com/t/custom-date-format/5768 "2020-08-17T09:04:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ideenstart](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/ideenstart/32/1922_2.png) [@ideenstart](https://community.gravityforms.com/u/ideenstart)
#### Post date: [August 17, 2020, 9:04am UTC](https://community.gravityforms.com/t/custom-date-format/5768/1 "2020-08-17T09:04:58Z")

</div>

Hi !

I have created a GF form to send leads into Salesforce using Web2Lead.  
Works absolutely fine !  
I only struggle with date fields !

I need to send “date” data into Salesforce (optin given on).  
The format has to be “yyyy/mm/dd hh:mm”.  
How can I do this with GF ?

Can I create a custom date format ?

Thanks  
Tom

---

<div class="post-metadata">

### Author: ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)
#### Post date: [August 17, 2020, 12:48pm UTC](https://community.gravityforms.com/t/custom-date-format/5768/2 "2020-08-17T12:48:07Z")

</div>

Hello Tom. We have a filter that can be used to translate a value before it is send via a feed. This works for many of our add-ons. Here’s the filter:

> **[gform\_{$SHORT\_SLUG}\_field\_value - Gravity Forms Documentation](https://docs.gravityforms.com/gform_slug_field_value/)**
>
> This filter can be used to modify a value before it is sent to a third-party by one of the Add-on Framework based add-ons.

I do not know what method you are using to send the data to Salesforce, but maybe they have a similar filter? If you can explain how the data gets to Salesforce, we may be able to help with an alternate method, if there is no filter available. Thank you.

---

<div class="post-metadata">

### Author: ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)
#### Post date: [January 4, 2022, 5:57pm UTC](https://community.gravityforms.com/t/custom-date-format/5768/3 "2022-01-04T17:57:19Z")

</div>


