Date UtilsIs Floating Format 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: 2025.1.9.0
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.
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public static bool IsFloatingFormat(
string dateTimeText
)VB
Public Shared Function IsFloatingFormat (
dateTimeText As String
) As BooleanC++
public:
static bool IsFloatingFormat(
String^ dateTimeText
)F#
static member IsFloatingFormat :
dateTimeText : string -> bool Parameters
- dateTimeText String
- The ISO 8601 formatted date to parse
Return Value
BooleanReturns 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
| ArgumentException | This is thrown if the specified date/time string is not valid |