dateNextOccur

Returns the next occurrence of pMonth and day after pDate. If oddEven is “odd”, gets the next occurrence of pMonth and day after pDate in an odd year (for example, year is an odd number). If oddEven is “even”, gets the next occurrence of pMonth and day after pDate in an even year.

Version

1.3

Parameters

Parameter Type Description
pMonth string Month of new date, as 2-digit month.
pDay string Day of new date, as 2-digit day.
pDate string Date from which new date is determined. In format MM/DD/YYYY or YYYY-MM-YY as used by wfDate variable.
oddEven (optional) string Specifies if the new date should be in an odd or even year. Enter “odd” or “even”.

Notes

The pDate parameter can be a date string in MM/DD/YYYY format, or an event-specific variable (e.g. wfDate) whose date format is YYYY-MM-DD.