Login Page - Create Account

Support Board


Date/Time: Sat, 14 Feb 2026 08:31:13 +0000



Post From: TIME_PERIOD_LENGTH_UNIT_QUARTERS

[2019-10-07 13:44:47]
User462086 - Posts: 198
Using a '3' for the 'TimePeriodLength' appears to be returning the start of quarters rather than "3 months relative to the input date." This wasn't obvious to me previously. Case closed.

sc.GetStartOfPeriodForDateTime( inputDateTime, TIME_PERIOD_LENGTH_UNIT_MONTHS, 3, 1 );