PeriodTo String Method
Convert the period instance to its ISO 8601 string form
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
Returns the period in ISO 8601 format
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public override string ToString()VB
Public Overrides Function ToString As StringC++
public:
virtual String^ ToString() overrideF#
abstract ToString : unit -> string
override ToString : unit -> string Return Value
StringReturns 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.