Convert a String value to an ISDateRange object.

The String value can contain 2 dates separated by a minus sign or the word 'to'.

Syntax

ISDateUtilities.ConvertToDateRange(value, [specialType])

Parameters

NameTypeOptionalByRefDescription
value String The value to convert.
specialType iseDateSpecialType Optional If the year relates to a Birth Date it MUST be prior to today. If omitted, a value of iseDateSpecialType.None is assumed.

Return Value

ISDateRange

An ISDateRange value.

Member of:
ISDateUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0