# Date parameter in md file

**URL:** <https://discourse.gohugo.io/t/date-parameter-in-md-file/11331>\
**Category:** Uncategorized\
**Created:** [April 1, 2018, 1:21pm UTC](https://discourse.gohugo.io/t/date-parameter-in-md-file/11331 "2018-04-01T13:21:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dobbers](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dobbers/32/5614_2.png) [@dobbers](https://discourse.gohugo.io/u/dobbers)\
**Post date:** [April 1, 2018, 1:21pm UTC](https://discourse.gohugo.io/t/date-parameter-in-md-file/11331/1 "2018-04-01T13:21:40Z")

</div>

How does the date parameter in a md file work in relation to whether the page is rendered when Hugo runs? I have a page where I use the date parameter to show when the page was last updated but I find that if I set the date parameter to say “2018-04-01T12:50:00Z” and then run the hugo command at 12:50 I sometimes see that the page is not rendered into the public folder. If I set the date to sometime in the past then it will work but I would like to understand the logic behind how hugo uses the date parameter

dobbers

---

<div class="post-metadata">

**Author:** ![regis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/regis/32/4958_2.png) [@regis](https://discourse.gohugo.io/u/regis)\
**Post date:** [April 1, 2018, 2:46pm UTC](https://discourse.gohugo.io/t/date-parameter-in-md-file/11331/2 "2018-04-01T14:46:33Z")

</div>

See [https://gohugo.io/getting-started/usage/#draft-future-and-expired-content](https://gohugo.io/getting-started/usage/#draft-future-and-expired-content)

For last modification, use `lastmod`

Cheers.
