This method will convert a string value to a .NET date string. For
example, a newValue of 12505 will return 1/25/2005. The day can be one
or two characters. The month must be 2 characters. The year can be two
or four characters. Slashes are not required. To modify an existing date,
all that is required is to enter the day or the day and month. For example
if the originalValue = "1/25/2005" and newValue = "7" the return value
will be 1/7/2005.
Namespace: KampData.TaxEngine.APIAssembly: KDTaxEngine (in KDTaxEngine.dll) Version: 3.0.5512.25362
Syntax public static string DateCheck(
string originalValue,
string newValue
)
Public Shared Function DateCheck (
originalValue As String,
newValue As String
) As String
public:
static String^ DateCheck(
String^ originalValue,
String^ newValue
)
static member DateCheck :
originalValue : string *
newValue : string -> string
Parameters
- originalValue
- Type: SystemString
The string value before modification. - newValue
- Type: SystemString
The value entered into the date field.
Return Value
Type:
StringA .NET formatted short date string.
See Also