PeriodToString Method
Convert the period instance to its ISO 8601 string form
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public override string ToString()
Public Overrides Function ToString As String
public:
virtual String^ ToString() override
abstract ToString : unit -> string
override ToString : unit -> string
Return Value
StringReturns the period in ISO 8601 format
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.