Welcome Guest, Not a member yet? Register   Sign In
Cannot Get Date format from input field
#8

(06-25-2018, 04:42 AM)sanjaya Wrote: "Array to string conversion"

Did you read the documentation?

date_parse will return array of date values broken down into array, while date + strtotime will give you a string in format you specify.

We have pointed you to solution for original issue, which was reformatting dates that come in from browser and need to go in DB in different format.
Reply


Messages In This Thread
RE: Cannot Get Date format from input field - by Pertti - 06-25-2018, 05:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB