My photo gallery changed the dates of some pictures i saved from twitter

  • Thread starter Android Central Question
  • Start date
A

Android Central Question

This only happened recently. I saved a couple of pics from twitter and when I was looking for it in my recents it wasn't there. So i scrolled up to the end and saw my recently saved pictures from twitter with a date of Jan 1 1970 8:00 AM. My system's date is correct and this kind of thing only happened for Twitter. I want to change it but idk how? please help me!
 

Rukbat

Retired Moderator
Feb 12, 2012
44,529
26
0
Visit site
The "last modified date" somehow got set to 0 (it's a long number that Android converts into local date format). Assuming the pictures have EXIF headers (most do, but some programs - maybe even Twitter's site - can wipe them), there are many EXIF readers in the Play store. Once you get the actual date, connect the phone to a PC and run

adb shell

and run the touch command on the files to change the last modified dates on them. The command would be something like

touch -d '23 August 2011 14:05:14' *.png
or
touch -d '23 August 2011 14:05:14' myfile.jpg

(-d means "date and time format" [otherwise you have to use the Unix time - it's currently about 1546372183)

Id you don't have adb installed, see ADB and fastboot - installing and using
 

Trending Posts

Forum statistics

Threads
943,189
Messages
6,917,715
Members
3,158,869
Latest member
apkmodyo