Get prev/next period time