PeriodForDate(Date=Date): Number
Period For Date Web Service function returns the Period ID of the period containing Date. If no period contains Date then 0 is returned. Date must be in the format YYYY-MM-DD.
PeriodForDate function syntax has these named arguments:
Parameter |
Description |
Date |
Required. The Date to find the Period ID for. Date must be in the format YYYY-MM-DD. |
See Web Service Functions for sample code to access Web Services. Sample web service end point syntax is:
Response = MakeCall("PeriodForDate(Date=2025-01-01)")
See also the MaxBasic PeriodForDate function and the SQL PeriodForDate function.