# DateTime field on list/tree view?

**URL:** https://discuss.tryton.org/t/datetime-field-on-list-tree-view/1593
**Category:** Ideas
**Created:** [July 19, 2019, 7:54pm UTC](https://discuss.tryton.org/t/datetime-field-on-list-tree-view/1593 "2019-07-19T19:54:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fmorato](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/fmorato/32/109_2.png) [@fmorato](https://discuss.tryton.org/u/fmorato)
#### Post date: [July 19, 2019, 7:54pm UTC](https://discuss.tryton.org/t/datetime-field-on-list-tree-view/1593/1 "2019-07-19T19:54:07Z")

</div>

I am developing a module that works as a backend for ACRA, an Android crash reporter. It’d be nice to see the DateTime and be able to order the list of records on that field, as well as be able to filter by DateTime range.

My current approach is to convert the field into a string with a Function field. But that lacks couple of features: Sorting the column and getting the DateTime timezone awareness that the field has on the form view.

Is there a reason that the feature doesn’t exist other than no one has implemented it?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [July 20, 2019, 12:22am UTC](https://discuss.tryton.org/t/datetime-field-on-list-tree-view/1593/2 "2019-07-20T00:22:23Z")

</div>

You can display datetime on a list but you must use two columns: one with widget=“date” and one with widget=“time”.  
But since [Allow to edit reference field in editable list (#6918) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue6918) it is possible to have more than one renderer per column. So I think it should be possible to implement a proper DateTime cell.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [November 29, 2019, 11:12am UTC](https://discuss.tryton.org/t/datetime-field-on-list-tree-view/1593/3 "2019-11-29T11:12:04Z")

</div>

3 posts were split to a new topic: [Editable datetime field in list/tree view](https://discuss.tryton.org/t/editable-datetime-field-in-list-tree-view/2015)
