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
)
Public Shared Function ToDateDesc (
cxt As IAppContext,
dt As DateTime
) As String
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - dt
- Type: SystemDateTime
The date for which to generate a description.
Return Value
Type:
StringThe date description, or null if none can be generated.
See Also