Delay for random time between x and y hours

I tried get random number between 500 and 600 → wait for delay (get the random number), However it convert it to 500 ms and not minutes