Click or drag to resize

FormatDateFormat Method

Gives date formatted (dd.MM.yyyy). If start date equal null then gives a empty string ("").

Namespace:  SOWIData.Helper
Assembly:  SOWIData.Helper (in SOWIData.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string DateFormat(
	this Nullable<DateTime> pDateTime
)

Parameters

pDateTime
Type: SystemNullableDateTime
Nullable date time object

Return Value

Type: String
Empty text or date formatted

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NullableDateTime. 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).
See Also