# Modificare la data del post?

**URL:** https://meta.discourse.org/t/editing-post-date/19506
**Category:** Feature
**Created:** [1 Settembre 2014, 3:36pm UTC](https://meta.discourse.org/t/editing-post-date/19506 "2014-09-01T15:36:59Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [1 Settembre 2014, 9:59pm UTC](https://meta.discourse.org/t/editing-post-date/19506/5 "2014-09-01T21:59:43Z")

</div>

Here’s how to do it via the command line

```bash
# ssh into your server
cd /var/discourse # or /var/docker on pre-V1 install
./launcher enter app
rails c
post = Post.find_by(id: 1234)
post.created_at = DateTime.new(2001,2,3,0,0,42) # year, month, day, hour, minute, seconds 
post.save

```

---

_[View the full topic](https://meta.discourse.org/t/editing-post-date/19506)._
