Click or drag to resize
PortalDateCheck Method
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.API
Assembly: KDTaxEngine (in KDTaxEngine.dll) Version: 3.0.5512.25362
Syntax
public static string DateCheck(
	string originalValue,
	string newValue
)

Parameters

originalValue
Type: SystemString
The string value before modification.
newValue
Type: SystemString
The value entered into the date field.

Return Value

Type: String
A .NET formatted short date string.
See Also