| Maptitude GISDK Help |
Returns the date of the next occurrence of a given day.
In Version 5.0 no longer accepts string of form "mm/dd/yy."
nextoccur = NextOccurrence(string date, string day)
| Argument | Contents |
|---|---|
| date | String of the form "mm/dd/yyyy" |
| day | String day of the week |
A string of the form "mm/dd/yyyy."
nextoccur = NextOccurrence("1/1/1997", "Sunday")
| Error Type | Meaning |
|---|---|
| NotFound | The day of the week is not valid |
| Function | Summary |
|---|---|
| DayOfWeek() | Converts a date to a day of the week |
| NextDate() | Returns a new date given an original date and an offset in days |
| ©2025 Caliper Corporation | www.caliper.com |