Version

ToLongDateString Method

Gets the long date string representation equivalent to the current DateTime value.
Syntax
'Declaration
 
Public Function ToLongDateString() As String
public string ToLongDateString()

Return Value

A string representation of the current DateTime value encapsulated by this SmartDate instance that should contain the full name of the day of the week, month, and the year based on applicable regional settings.
Remarks

Provided for compatibility purposes with existing DateTime application code. The preferred solution is to use the FormatString and Text properties of the SmartDate instance directly.

When the SmartDate is empty this method returns the empty string for compatibility with the approach described above.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also