The Safari History file, History.plist, is stored in each user's home directory:

/Users/[username]/Library/Safari/History.plist

This file can be viewed directly in OS X by double-clicking on it and opening the Property List Editor program. For each web site, the program records the URL visited, the date and time of the last visit, and the number of times the site has been visited.