Add views and convert date to date entity