You can easily get into ketosis by low carb dieting. Usually it takes a only couple days provided your carb intake remains low. I'm sure fasting would be that or possibly less.
Ketosis, just means that you are burning stored fat for energy.
You can buy Ketostix to check your urine at any pharmacy.