We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Is there a way in Expression Engine to edit the comment date?

Development and Programming

Robfletcher's avatar
Robfletcher
149 posts
15 years ago
Robfletcher's avatar Robfletcher

I’m migrating comments that were made in another CMS and i want to transfer the dates the comments were made too. When i go to edit a comment it only shows the text from the comment. I’m wondering is there a way to edit more things associated with the comment?

If that is not possible then how can i edit the comment date in the mysql database? I see its stored as an integer. I’m not familiar with that method of storing dates.

Moved to Development and Programming by Moderator

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
15 years ago
Sue Crocker's avatar Sue Crocker

Hi, CDPRfletcher.

EE uses a Unix date/time stamp. You’d need to edit the database directly, let me move this to the Development forum for additional community support.

       
Robfletcher's avatar
Robfletcher
149 posts
15 years ago
Robfletcher's avatar Robfletcher

ok thanks. I’m fine with editting the database directly.

Do you have a magic equation to use to convert the date that I have to the proper unix date/time? Is there maybe an easier way to do it in excel?

Is there a plugin that will let me edit the datestamp for comments?

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
15 years ago
Sue Crocker's avatar Sue Crocker

See: http://emspace.com.au/article/how-convert-date-string-excel-unix-timestamp

NOTE: I have not tested, just googled for it. 😊

       
aleklisefski's avatar
aleklisefski
24 posts
14 years ago
aleklisefski's avatar aleklisefski

I’m also working on transferring a blog from Wordpress and really need to retain current comments. Are there any new development on this? I’m surprised no one has developed an add-on for this. Seems this kind of thing would be quite common. Any chance the next EE update will include the ability to edit comment dates?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.