IngameDateTime_Dev > Ingame Calendar > Make Partial Date

Make Partial Date

Creates a partial date from a string and a given repeating period identifier.
A partial date represents a date/time that repeats with respect to some period, such as a time of day, time of month, etc.

NOTE: Formatting hints will be given on the blueprint node if the type of connection plugged into the Target pin is the exact calendar you are using.
For example, if you use the GregorianCalendar, but access it through the global ingame calendar/clock nodes, hints will only appear if you cast to GregorianCalendar
before plugging into this node. Recommended practice is to add a variable to whichever blueprint is using this node, of your specific calendar type. Then access the
global calendar in BeginPlay, cast it, and store it in your variable. You can then use this variable for all accesses to the calendar.

Examples:
RepeatingPeriodId="Year", Date="12/25" - a partial date that repeats every year, at midnight on morning of Dec 25th.
RepeatingPeriodId="Hour", Date="30:00" - a partial date that repeats every hour on the half hour.

Inputs

Target
Ingame Calendar Object Reference

Repeating Period Id
Name

The period with respect to which the partial date should repeat

Date
String

Input date/time string, beginning with the next largest period after RepeatingPeriodId

Outputs

Return Value
Ingame Partial Date Structure

Partial date/time value