Click or drag to resize

ExtensionConvertDateFromString Method

Convert a string to date or null

Namespace:  Velo.Data.Helper
Assembly:  Velo.Data (in Velo.Data.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public static Nullable<DateTime> ConvertDateFromString(
	this string pDate
)

Parameters

pDate
Type: SystemString
Text as date example 2010-04-03 or empty text

Return Value

Type: NullableDateTime
A date or null

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Declaration statement
Using Velo.Data.Helper
See Also