Copy dayToNum from app to spot since app scope is not visible to services.  Need to move all helper functions in a utility service.