this can have many reasons!
is there a (hidden) input that overwrites the posted data when the form is submitted?
are you writing to the wrong field?
are you reading out the wrong field?
if you use mktime or date, is something wrong with the parameters?
...