Click or drag to resize

EAPConvertToDateDesc Method

Generate a text description for a date, e.g. "(Today)", suitable for appending to date/time field renderings.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string ToDateDesc(
	IAppContext cxt,
	DateTime dt
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
dt
Type: SystemDateTime
The date for which to generate a description.

Return Value

Type: String
The date description, or null if none can be generated.
See Also