DateUtilsIsFloatingFormat Method

This method is used to see if an ISO 8601 formatted date string is in floating format (a universal time indicator or time zone offset is not specified).

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static bool IsFloatingFormat(
	string dateTimeText
)

Parameters

dateTimeText  String
The ISO 8601 formatted date to parse

Return Value

Boolean
Returns true if the date/time has no universal time indicator (Z) or time zone offset (+/-HHMM) or if it has no time (assumes midnight local time). Returns false if there is a universal time indicator or a time zone offset.

Exceptions

ArgumentExceptionThis is thrown if the specified date/time string is not valid

See Also