cDateTime: ToString

ToString

Returns a string representation of this object instance.



 Public Function ToString(
	  Optional ByVal format As String,
	  Optional ByVal Provider As IFormatProvider ) As String

Parameters

format
[ByVal] Optional. String. The format inwhich the date should represent.
Provider
[ByVal] Optional. IFormatProvider. A formatting provider to format the date.

Return Values

String -  String representing this instance.

Remarks

See Also

Project VBCorLib Overview Class cDateTime Overview cDateTime Properties cDateTime Methods ToShortTimeString TotalMilliseconds (get) DateTimeFormatInfo