Click or drag to resize

FormatDateTimeFormat Method

Gives date and time formatted (dd.MM.yyyy HH:mm). 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 DateTimeFormat(
	this Nullable<DateTime> pDateTime
)

Parameters

pDateTime
Type: SystemNullableDateTime
Nullable date time object

Return Value

Type: String
Empty text or date time 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