Take the current Unix timestamp and the Unix timestamp of a random date between 10 and 30 days from today, shuffle them, and take the first one.
seq $(date +%s) $(date -d "today + $(shuf -i 10-30 -n 1) days" +%s) | shuf | head -n1