Thanks, that inputs the code and much easier and safer as you said, than what I was originally doing. Just one little problem
I am using the created_date as
dd-mm-yyyy hh:mm:ss
- When taking the unix time stamp from the URL to place into the new form it changes the time
From the original entry it has the date and time as
18-06-2015 09:01:45
When it enters into the field from the model file it changes the time --
21-06-2015 05:51:56
I added the code
$data->incident = $jinput->get('entered', null);
It looks to have set the original time in GMT.. The time on the action form looks to be CDT
Is there anything else I need to add to the above code to get the fields match?