updated date issue, hopefully lets a user now add and view records on the correct date.