Problems with date

I have the next code fragment:

{date} = strtotime(“2013-11-12”);

echo {date};

and work. But if I capture the date field in a form, simply shows nothing.

What does it show without the strtotime?

Also shows only the mask DD / MM / YYY.

Also I checked than in Validate evente the value of date field is a string with the format ddmmyyyy. Then try matching the date field as a string with this format but the result was the same: I can not give a value to a date field in the ONLOAD for is displayed or can be modified.