added date select from mysql
Merge branch 'master' into relentless