fixed issue #207. cast analysis_timestamp to Date