add sleep 100 ms in setDate