Those two timestamps are exactly 5 hours apart. I expect that Yahoo Finance is in a different time zone to the system you are working on. If Yahoo Finance is the only site you care about, then you could simply add 18000 seconds to the output of the function, although this may well change when daylight savings time ends in November.
VBA will calculate the difference between dates in your own time zone. This is only equal to the Unix date in the UTC time zone. You can test this by executing in an immediate window.
print datediff("s", "1/1/1970", date) mod 86400
86400 is the number of seconds in a day, and the remainder is 0, meaning the calculation is from midnight local time on Jan 1, 1970 to midnight today. If you take the remainder of the yahoo time,
print 1325566800 mod 86400
The result is 18000, which is the number of seconds in 5 hours. So the Yahoo server is in time zone UTC-5. With Yahoo Finance in New York City, it is only 5 hours behind UTC during the Winter. From March to November, it is four hours behind UTC because New York City observes daylight savings time.
However, I suspect for consistency their time stamps are all UTC-5, as any test run recently would otherwise show UTC-4. My caution to you is to observe what happens when NYC switches from Daylight Time to Standard Time in November, just in case.