Hi,
I'm trying to dynamically populate a date field so that the user can see the existing entry and then update it using the date field (with date picker) as normal.
This process has not been a problem for every other field type I've tried and I'm sure it's not for the Date Field, however I can populate the field but the field isn't interpreting the data as I expected. I've used a date field to save the data (in this case the original date is 08/12/1965 and that's how it outputs around the site, but the database stores it as -128304000. Obviously this must be correct as everything else seems to understand it, so I expected when I passed it back to the Date Field as a string it would understand it and convert it, but it doesn't it just displays -128304000.
I can find no mention of this in the documentation or elsewhere in these forums, could someone help me interpret this please?
Here's my code, as you can see I've tried using the php date() function, but to no effect: