Fix calc of PROFILESTARTDATE with proper "gm" func