DateUtilsFromISO8601TimeZone Method
This method is used to convert an ISO 8601 time zone string into a
TimeSpan
object.
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static TimeSpan FromISO8601TimeZone(
string timeZone
)
Public Shared Function FromISO8601TimeZone (
timeZone As String
) As TimeSpan
public:
static TimeSpan FromISO8601TimeZone(
String^ timeZone
)
static member FromISO8601TimeZone :
timeZone : string -> TimeSpan
- timeZone String
- The ISO 8601 formatted time zone to parse
TimeSpanThe specified string converted to a time span
The string should be in the form +HH:MM or -HH:MM. The sign (+/-) and time separator (:)
are optional as are the minutes. If minutes are not present, they are defaulted to zero.