It will take about three to five days for a foreigner to obtain 30 days worth visa from Emiratesvisaonline.