AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

BusinessObjectBase..::..IsValidDate Method

Helper method to determin if string value is a DateTime.

Namespace:  AdvantageCMS.Core.Admin.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static bool IsValidDate(
	string str
)

Parameters

str
Type: String
The string.

Return Value

true if [is valid date] [the specified string]; otherwise, false.