# How to store a time of day in Tryton?

**URL:** <https://discuss.tryton.org/t/how-to-store-a-time-of-day-in-tryton/535>\
**Category:** Developer\
**Created:** [April 3, 2018, 9:17am UTC](https://discuss.tryton.org/t/how-to-store-a-time-of-day-in-tryton/535 "2018-04-03T09:17:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgras](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jgras/32/285_2.png) [@jgras](https://discuss.tryton.org/u/jgras)\
**Post date:** [April 3, 2018, 9:17am UTC](https://discuss.tryton.org/t/how-to-store-a-time-of-day-in-tryton/535/1 "2018-04-03T09:17:48Z")

</div>

How do I store a time of day in Tryton? If I use fields.Time the value is stored in UTC to the database and shown DST-aware in the client. But what if an event will happen at 14:00 - regardless of daylight saving time?

---

<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:** [April 3, 2018, 10:46am UTC](https://discuss.tryton.org/t/how-to-store-a-time-of-day-in-tryton/535/2 "2018-04-03T10:46:40Z")

</div>

You must use a [Time field](http://doc.tryton.org/4.6/trytond/doc/ref/models/fields.html#trytond.model.fields.Time). I do not see why you say it is stored in UTC because normally there is no timezone in it and client does not perform any timezone conversion on it.  
In Tryton, only [DateTime field](http://doc.tryton.org/4.6/trytond/doc/ref/models/fields.html#datetime) has timezone conversion.

---

<div class="post-metadata">

**Author:** ![jgras](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jgras/32/285_2.png) [@jgras](https://discuss.tryton.org/u/jgras)\
**Post date:** [April 3, 2018, 10:58am UTC](https://discuss.tryton.org/t/how-to-store-a-time-of-day-in-tryton/535/3 "2018-04-03T10:58:42Z")

</div>

Ok. In SAO it is shown timezone aware while it is stored without in sqlite. Need to check.

---

<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:** [April 3, 2018, 5:31pm UTC](https://discuss.tryton.org/t/how-to-store-a-time-of-day-in-tryton/535/4 "2018-04-03T17:31:19Z")

</div>

Please fill an [issue](https://bugs.tryton.org/) if sao perform any timezone modification on Time field.
