Need to calculate the shift number based on a past event datetime tag

Ok, this may be a dumb question but what do you mean by test in a browser vs designer? can you design in a browser? or do you mean run the live view from a browser? I did run the browser and I get the same error.