Update getAppearanceTime.m