IngameDateTime_Dev > Ingame Calendar > To Partial Date

To Partial Date

Converts a date/time value to a partial date relative to the specified period.

Example:
With a standard calendar, a date/time of 18:30:59, Jan 1st 2016 converted with period Day would yield the time component only: 18:30:59.

Inputs

Target
Ingame Calendar Object Reference

Time
Ingame Date Time Value Structure (by ref)

Input date/time value

Repeating Period Id
Name

The period with respect to which the partial date should repeat

Outputs

Return Value
Ingame Partial Date Structure

Time converted to a partial date