fixed date to database issue
fixed date database and display issue