PeriodToString Method

Convert the period instance to its ISO 8601 string form

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public override string ToString()

Return Value

String
Returns the period in ISO 8601 format

Remarks

The string format is based on the PeriodPeriodFormat property. It can be expressed as either a starting and ending date or as a starting date and a duration. When formatted as a start date and duration, the duration portion is expressed using a maximum unit of weeks to prevent any ambiguity that would be present in larger units such as months or years.

See Also