If you’re getting really scientific about it, you can buy an over-the-counter glucose meter. This is what diabetics use, but you can use it as well to track your fasting state by checking your blood sugar levels. I believe it takes about 18 hours post eating to enter a state of ketosis. It can be accelerated through exercise and other factors, like how your body metabolizes food and sugar.