Replace string in php validation

jmdc

Member
Hello,

Could you help me about how to use a replace string in php validation in one date field element...
I would like to return something like that:
return ('2016/07/22');

but it doesn?t work...Instead of that, i have 0000-00-00 00:00:00 in my db.

Could you tell me what replace string return i should use to have 2016-07-22 00:00:00 in my Db?

Thank you in advance.
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top