closer to accurate dates

This seems to get the date within a week or so of the correct one, though I don't guarantee it works perfectly.