RingSoft.DbLookup Namespace
RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

GblMethods..::..FormatDateValue Method

Formats the date value.

Namespace:  RingSoft.DbLookup
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public static string FormatDateValue(
	this DateTime value,
	DbDateTypes dateType,
	bool fullString
)
<ExtensionAttribute> _
Public Shared Function FormatDateValue ( _
	value As DateTime, _
	dateType As DbDateTypes, _
	fullString As Boolean _
) As String
[ExtensionAttribute]
public:
static String^ FormatDateValue(
	DateTime^ value, 
	DbDateTypes^ dateType, 
	bool^ fullString
)

Parameters

value
Type: DateTime
The value.
dateType
Type: RingSoft.DbLookup.QueryBuilder..::..DbDateTypes
Type of the date.
fullString
Type: Boolean
if set to true [full string].

Return Value

System.String.

Exceptions


ExceptionCondition
ArgumentOutOfRangeExceptionvalue - null