+ Start a Discussion
HalHal 

Does anybody know the format for Date/Time fields with Web-to-lead?

Though, this not exactly an sforce questions, I hope someone here can help me.  I have a web-to-lead form that includes a custom date/time field that was created on the lead form.  No matter what I type in this field, it does not get updated to the field in SalesForce.  What gives?  Does anybody know or has gotten this to work?

Thanks in advance. - Hal

HalHal

Well, I finally found out what it is.  What worked for me was dropping the seconds.  So, the format was "mm/dd/yyyy hh:mm AM" or PM of course.  I wish that was documented somewhere. If it was, I wish I would have found it.

Regards, - Hal

MaconeMacone
2005/08/17 02:01

yyyy/mm/dd hh:mm
This format worked for me.
Talha SaqibTalha Saqib
Please try the following resource:
https://retrology.net/the-correct-format-of-datetime-field-in-web-to-lead-form-salesforce/