Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I find the time a site was accessed in Safari's history?

I know that Safari's "History" list is in reverse order, that is, most recently visited sites at the top of the list. How can I find the time a particular site was visited?

MacBook, Mac OS X (10.6.8)

Posted on Feb 7, 2012 5:05 AM

Reply
Question marked as Best reply

Posted on Dec 22, 2012 12:55 PM

As of Safari 5.1.7 there does not appear to be a way to view the time in the browser, but it is still possbile to find from the raw history file. Open /Users/[yourusername]/library/Safari/History.plist in a text editor. Depending on how your text editor reads the file, you may see a lot of garbled text, but you should still be able to find the URL that you want the time for. After the URL you may see the page's title, but should also see a left square bracket followed by numbers.


Example:

_?http://www.apple.com/_Apple[377832904.6o


The integer is an Apple timestamp (number of seconds since 00:00:00 UTC on 1 January 2001). Find a timestamp calculator online to get the actual time for your timestamp. In the example above, Apple was visited on Dec 21 2012 at 17:35:04 PST.


Cheers.

15 replies
Question marked as Best reply

Dec 22, 2012 12:55 PM in response to RESTech

As of Safari 5.1.7 there does not appear to be a way to view the time in the browser, but it is still possbile to find from the raw history file. Open /Users/[yourusername]/library/Safari/History.plist in a text editor. Depending on how your text editor reads the file, you may see a lot of garbled text, but you should still be able to find the URL that you want the time for. After the URL you may see the page's title, but should also see a left square bracket followed by numbers.


Example:

_?http://www.apple.com/_Apple[377832904.6o


The integer is an Apple timestamp (number of seconds since 00:00:00 UTC on 1 January 2001). Find a timestamp calculator online to get the actual time for your timestamp. In the example above, Apple was visited on Dec 21 2012 at 17:35:04 PST.


Cheers.

Oct 31, 2016 9:51 AM in response to RESTech

The problem with that is, for me at least, is that Parental controls are very inconsistent and buggy, and don't show the history from the last 2 months. I periodically refresh by making a new user account (and transfer the data files from the old one manually),and the parental controls work well for some time, but eventually become corrupt. Very poor performance on Parental controls.

Feb 7, 2012 6:40 AM in response to Carolyn Samit

Thanks for trying, Carolyn. I do have the history list - just trying to figure out the time a particular item in the history was accessed. I actually did find the time on one machine but not another. On my MacBook Pro (10.6.8) I entered the name of the website (yahoo.com) in the Spotlight Search, then chose "Show All." That produced a Finder window which listed all three yahoo sites I'd visited - the main site, the search string and the search results, with a time stamp for each. However, when I tried to do the same thing on a MacBook with the same operating system, no such results appeared. I checked the Spotlight preferences and found that "webpages" was indeed enabled. Yet still no similar results.

Oct 13, 2013 3:27 AM in response to RESTech

I just did this on OS X Lion 10.8.5, you go to finder look for this directory /Users/[yourUsername]/Library/Caches/Metadata/Safari then you're gonna findHistory folder which is where your histories located. Then you arrange it by date. When you find the site you want to look for the date was accessed, you just go to "Get Info".

good luck 😉

Mar 5, 2014 9:39 PM in response to ettozyame

Thanks for the tip ettozyame! That's much easier than trying to convert Apple timestamps one by one - such a timesaver!

ettozyame wrote:


I just did this on OS X Lion 10.8.5, you go to finder look for this directory /Users/[yourUsername]/Library/Caches/Metadata/Safari then you're gonna findHistory folder which is where your histories located. Then you arrange it by date. When you find the site you want to look for the date was accessed, you just go to "Get Info".

good luck 😉

Nov 26, 2014 10:24 AM in response to RESTech

Not sure if all recent versions of Spotlight have the same facility but, in the current version and with Yosemite, you can use Spotlight. Search the site name (or a distinguishable part of the name) and, at the bottom of the Spotlight list, click onto 'Show all in Finder'. The window opened will normally have a 'Date Last Opened' column but, if not showing, you can add a 'Date Created' column by clicking on the finder 'View' menu, pulling down to 'Show View Options' and ticking the 'Date Created' box. Sounds much more complicated than it actually is.

Jul 23, 2015 7:10 PM in response to RESTech

Hmm. Trying to get one of these tips to work.


Found an malicious download on a Mac and trying to track down how it got there.


https://www.virustotal.com/en/file/e7d2a3602f39d4cdacddf56432482275ac6185d440618 cd41691ccb2181c1846/analysis/is the download, which is infected with the Bundlore malware.

Here's what I figured out so far: Finder Info shows (under More info):


Where from: http://cdn.downloads-free-video.com/download/Mac/setup.dmg/?software=downloader& name=Setup.exe&clickid=22484897226853631&appid=778, http://www.zdurnalab.info/mac/178/v10/?did=mobit2&sub=w8VA26EHS2MTBFQL0OSGJLDI


Searching Safari history shows

http://www.zdurnalab.info/mac/178/v10/?did=mobit2&sub=w8VA26EHS2MTBFQL0OSGJLDI

was visited 2 days ago.


But ~/Library/Safari/History.plist doesn't contain the strings zdurnalab, downloads-free-video, or Downloader!



Looking through results of
open ~/Library/Caches/Metadata/Safari/History/
AHA! SOLVED! User was on that famous pirate ship torrent website (currently in the .la TLD); it served up the malware via an ad.


Ooh, think I found a security hole in Spotlight / Quickview ?! Got me an 0day? A mere Quickview shouldn't cause Safari to download a file. Good thing I always disable [Open "safe" files after downloading] in Safari (General tab).


... to be continued/edited!

How can I find the time a site was accessed in Safari's history?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.