• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Birthday Field Date Format

Birthday Field Date Format 4 years 8 months ago #40461

  • zorigo
  • zorigo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I'm trying to store a value from a birthday field in a custom database table using mapping with a date datatype. I have used similar code below using the calendar option and it works perfectly. However, the Birthday field keeps adding the date as 12-31-1969 (i.e. invalid date format). This is the script that I put into the Script called on form process section and then map the hidden, FormattedBirthday field to the DB. Any idea what I am doing wrong?

$_POST = date('Y-m-d H:i:s', strtotime($_POST));
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!