Takes a date/time value and moves it forward to the next period boundary.
NOTE: If Time is already exactly on a boundary, it will be advanced one whole period.
Example:
With a standard calendar, a date/time of 18:30:59, Jan 1st 2016 advanced to period Hour would yield 19:00:00, Jan 1st 2016.
Target
Ingame Calendar Object Reference
|
|
Time
Ingame Date Time Value Structure (by ref)
|
Input date/time value |
Period Id
Name
|
ID of period boundary to advance to |
Return Value
Ingame Date Time Value Structure
|
Time advanced to next boundary of PeriodId |