May be the biggest thing you are lacking is the data model .
May be it is that your data model lacks the association of fields with data .
So first follow the data model and then conclude what is going bad or wrong their.
May be you are right that date format is an issue.
So if possible then post a sample .