Does the following look like it should correctly assign quarter to a datetime field? I’m finding quarter incorrectly assigned, e.g., where month is correctly set to 7, quarter is 3? if parseInteger(formatDateTimeUTC($Iterator_MTDHist/mindt,'MM')) <= 3 then 1 else if parseInteger(formatDateTimeUTC($Iterator_MTDHist/mindt,'MM')) <= 6 then 2 else if parseInteger(formatDateTimeUTC($Iterator_MTDHist/mindt,'MM')) <= 9 then 3 else if parseInteger(formatDateTimeUTC($Iterator_MTDHist/mindt,'MM')) >= 10 then 4 else 0
↧