changed db date format