# 时间戳是什么？

**URL:** https://meta.discourse.org/t/what-is-the-time-stamp/118723
**Category:** Support
**Created:** [2019年五月26日 15:05 UTC](https://meta.discourse.org/t/what-is-the-time-stamp/118723 "2019-05-26T15:05:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2019年五月26日 15:05 UTC](https://meta.discourse.org/t/what-is-the-time-stamp/118723/1 "2019-05-26T15:05:00Z")

</div>

Hello, I don’t understand what the timestamp feature does. Also, can you un-do it?  
Thanks.

---

<div class="post-metadata">

### Author: ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)
#### Post date: [2019年五月26日 15:34 UTC](https://meta.discourse.org/t/what-is-the-time-stamp/118723/2 "2019-05-26T15:34:33Z")

</div>

Changing Timestamp simply means you change the date and hour of the creation of a post or topic.

* * *

Here is how to un-do it:

> [@Undo change timestamp](https://meta.discourse.org/t/undo-change-timestamp/78966):
>
> One of our mods changed the timestamp as a way to unbump a topic and I wanted to revert that change because. I wrote a rake task that does this. It’s a small thing, but why not share? # /var/www/discourse/lib/tasks/set\_timestamp\_to\_last\_version.rake desc "Set timestamp of all posts in a topic to the post's last\_version\_at" task "set\_timestamp\_to\_last\_version", [:topic\_id] =\> :environment do |\_, args| topic\_id = args[:topic\_id] if !topic\_id puts "ERROR: Expecting rake set\_timestamp\_to\_la…

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2019年五月26日 15:44 UTC](https://meta.discourse.org/t/what-is-the-time-stamp/118723/3 "2019-05-26T15:44:15Z")

</div>

Thanks, all understood! I get that now thanks 😄

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2019年六月25日 15:44 UTC](https://meta.discourse.org/t/what-is-the-time-stamp/118723/4 "2019-06-25T15:44:15Z")

</div>

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