IngameDateTime_Dev > Gregorian Calendar > Get Next Weekday

Get Next Weekday

Calculates the next occurrence of a given weekday following a starting date/time.

Inputs

Target
Gregorian Calendar Object Reference

Start Time
Ingame Date Time Value Structure (by ref)

Initial date/time to search from

Do W
EIDTDayOfWeek Enum

Day of week to search for next occurrence of

Outputs

Result
Ingame Date Time Value Structure