Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

  • Ben July 2013
Custom Date Format dd/mm/yyy
  • Vote Up0Vote Down chrisandochrisando
    Posts: 6Sendy user

    Hello,

    I have a custom Date of Birth field. I would like users to enter in the form, in this format. dd/mm/yyyy. This does not work and gives the wrong dob in the backend.

    dd-mm-yyyy does work. Along with many other formats.

    Is there an easy way to allow the '/ ?

  • 1 Comment
  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Hi @chrisando,

    There is only a number of date formats accepted by PHP. Apparently, dd/mm/yyyy is not one of them. On the other hand, yyyy/mm/dd is accepted by PHP. Either use that or dd-mm-yyyy, which is also accepted by PHP.

    Thanks.

    Best regards,
    Ben

This discussion has been closed.
All Discussions