# Fix 2036 Date

**URL:** <https://forums.plex.tv/t/fix-2036-date/834038>\
**Category:** General Discussions\
**Created:** [March 10, 2023, 7:10pm UTC](https://forums.plex.tv/t/fix-2036-date/834038 "2023-03-10T19:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Divideby0](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Divideby0](https://forums.plex.tv/u/Divideby0)\
**Post date:** [March 10, 2023, 7:43pm UTC](https://forums.plex.tv/t/fix-2036-date/834038/3 "2023-03-10T19:43:36Z")

</div>

If it’s not in the metadata of the file, then it’s possible that something screwed up and the “date added” field in the Plex database populated with an impossible date. A [Plex dance](https://forums.plex.tv/t/the-plex-dance/197064) should fix the files to get the correct “current” date. Be aware that doing the dance will cause the files to appear to still be “recently added”, but they should not longer stick to the front of this list in front of other “new” files.

Someone in the past had this happen. They manually edited the “date added” field in the Plex database itself. Very scary sounding, but if you are proficient enough and willing to try, you can search for the topic. I’ll give the search a try myself, and edit this if I find the post.

Edit: Aha. The first post I found mentioned that Plex picks the date the files were “created” or “modified” (unsure which one) on the filesystem. So in Linux, he did a “touch” on the files to update the date of the files to be the present date, and Plex picked up the new date and fixed it on their end.

> [@Date Added in the Future](https://forums.plex.tv/t/date-added-in-the-future/233254/4):
>
> TLDR: Files were added with a date of 2098. This caused the Plex DB to always have these media files as “Recently Added”. Had to go through and “touch” each of them. I recently had the same problem. My “Recently Added” would show the same movies/TV. I thought this was a DB problem and went through a ton of steps to fix what was not actually broken. On a whim, I went a looked at each of the files and noticed they had dates years in the future (I.e 7/21/2098). I had not realized that Plex …

The following post seems to suggest that Plex respects the filesystem “date” when it pulls the file in, but then never updates that date afterwards. They used a SQL command to fix the dates, but it’s a bit over my head to interpret it. If you are SQL proficient, then consider reading this post:

> [@Database, date added breaks again during adding media](https://forums.plex.tv/t/database-date-added-breaks-again-during-adding-media/814032):
>
> Server Version#: 1.28.0 Player Version#: Plex Web 4.84.1 I’m running PMS on a QNAP TS-253A with QTS 5.0.1.2173. In August 2022, I posted about database corruption that I was not able to recover from! This this time I uninstalled the PMS application, deleted all folder content from the PMS folder, and give it another try to use PMS. After pointing to some decade old media collection on the same NAS as PMS, the first movies show up as added 18 years ago. Then, for no obvious reason, media sho…

---

_[View the full topic](https://forums.plex.tv/t/fix-2036-date/834038)._
