# Account Move post\_date stored is diferent with the realy date that was posted

**URL:** https://discuss.tryton.org/t/account-move-post-date-stored-is-diferent-with-the-realy-date-that-was-posted/1028
**Category:** User
**Tags:** accounting
**Created:** [January 9, 2019, 8:28pm UTC](https://discuss.tryton.org/t/account-move-post-date-stored-is-diferent-with-the-realy-date-that-was-posted/1028 "2019-01-09T20:28:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mono](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/mono/32/289_2.png) [@mono](https://discuss.tryton.org/u/mono)
#### Post date: [January 9, 2019, 8:28pm UTC](https://discuss.tryton.org/t/account-move-post-date-stored-is-diferent-with-the-realy-date-that-was-posted/1028/1 "2019-01-09T20:28:03Z")

</div>

I am in the time zone America/Bogota (-5) and if I Post a Account Move (account.move) after the 19:00 (in my timezone) the field move.post\_date([http://hg.tryton.org/modules/account/file/tip/move.py#l409](http://hg.tryton.org/modules/account/file/tip/move.py#l409)) stored has a difference of one day with the date that was posted.

I think this is about converting an datetime object to a date object([http://hg.tryton.org/trytond/file/tip/trytond/ir/date.py#l29](http://hg.tryton.org/trytond/file/tip/trytond/ir/date.py#l29)) and that this difference varies depending on the time zone.

Is this the expected behavior?

Note: that topic may be related to this topic [Change most Date fields by DateTime](https://discuss.tryton.org/t/change-most-date-fields-by-datetime/42)

---

<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: [January 9, 2019, 9:31pm UTC](https://discuss.tryton.org/t/account-move-post-date-stored-is-diferent-with-the-realy-date-that-was-posted/1028/2 "2019-01-09T21:31:52Z")

</div>

Are you sure you have setup the timezone on the company?

---

<div class="post-metadata">

### Author: ![mono](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/mono/32/289_2.png) [@mono](https://discuss.tryton.org/u/mono)
#### Post date: [January 14, 2019, 1:53pm UTC](https://discuss.tryton.org/t/account-move-post-date-stored-is-diferent-with-the-realy-date-that-was-posted/1028/3 "2019-01-14T13:53:25Z")

</div>

Thank you ced, The company did not have configured the time zone.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [February 13, 2019, 1:56pm UTC](https://discuss.tryton.org/t/account-move-post-date-stored-is-diferent-with-the-realy-date-that-was-posted/1028/4 "2019-02-13T13:56:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
