correct memcache key used to match actual path
PHX 8 Sep plot
can't use strftime for dates prior to 1900, so let postgres do it