# How does dynare represent time

**URL:** <https://forum.dynare.org/t/how-does-dynare-represent-time/16745>\
**Category:** Uncategorized\
**Created:** [9 October 2020 13:05 UTC](https://forum.dynare.org/t/how-does-dynare-represent-time/16745 "2020-10-09T13:05:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![QIU121180875](https://forum.dynare.org/user_avatar/forum.dynare.org/qiu121180875/32/10868_2.png) [@QIU121180875](https://forum.dynare.org/u/QIU121180875)\
**Post date:** [9 October 2020 13:05 UTC](https://forum.dynare.org/t/how-does-dynare-represent-time/16745/1 "2020-10-09T13:05:48Z")

</div>

I want to set a variable x, say, x =a+b\* t, where t is time.how does that work in dynare?

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [9 October 2020 13:43 UTC](https://forum.dynare.org/t/how-does-dynare-represent-time/16745/2 "2020-10-09T13:43:19Z")

</div>

Are you talking about perfect foresight simulations? There, you can define time as an exogenous variable, i.e. `varexo`.
