get weekstart and weekend from database as unix timestamps