• Laurie Caron
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

Hello good people.

I don't have skills in apex or anything. I am here unfortunatley because when we are capturing leads from a landing page which sends us date in the format: "02/12/2016". This doesn't go into our date field which is of date type.

We also edit/update dates ourselves.

I ended up on apex and now want a solution that when a lead is created, the date field should be checked, if it is of date type (manual entries) then ignore but if it is text "02/12/2016" then convert it to date type and assign to our date field.

What will the code for that?

Thank you alot!

Hello good people.

I don't have skills in apex or anything. I am here unfortunatley because when we are capturing leads from a landing page which sends us date in the format: "02/12/2016". This doesn't go into our date field which is of date type.

We also edit/update dates ourselves.

I ended up on apex and now want a solution that when a lead is created, the date field should be checked, if it is of date type (manual entries) then ignore but if it is text "02/12/2016" then convert it to date type and assign to our date field.

What will the code for that?

Thank you alot!