If you’re spending 1 day in Dubai, it’s most likely due to the fact that you’re there for a layover. However, this is only manageable with a transit visa, which you would need to organize beforehand.