Yes, you can get the date of the image using the Google Maps Street View Service in JavaScript.
In short, you need to go through the usual setup steps to make Google Maps work on your page, then you will do something similar to
var sv = new google.maps.StreetViewService(); var berkeley = new google.maps.LatLng(37.869085,-122.254775); sv.getPanoramaByLocation(berkeley, 50, function(data) { console.log(data.imageDate); });
data.imageDate will contain the date in YYYY-MM format.
You can use the StreetViewService methods of both getPanoramaById and getPanoramaByLocation to get this data. Please see here .
source share