CurrentPeriod ()

Result Type: Number

Definition: Returns the internal period number of the current period. Suitable as an argument to AgeByPeriod or for searching by period

Examples:  if (transaction.period = CurrentPeriod(), “Current”, “Overdue”)

See Also:

Date: Convert d,m,y to a date

DateToPeriod: Convert a date to a period

DateToText: Format a date as a string

Day: Get the Day of month of a date

DayOfWeek: Get The weekday of a date

Month: Get the month of a date

PeriodName: Get the Name of a period

PeriodOffset: Difference between two periods

PeriodToDate: Get the end date of a period

TextToDate: Parse a string to a date

Time: The current Datetime

Today: Today's date

WeekOfYear: Convert a date to a week number

Year: Year of a date