date time formatting detail view