It's the query to select the  timestamps which is on Sunday
SELECT date_recorded FROM answers WHERE DAYOFWEEK( FROM_UNIXTIME( date_recorded, '%Y-%m-%d %h:%i:%s' ) ) = 1