add datetime to view