Visual Signal ExternalBase Class Library Documentation
ToDateString Method (v, showDate, showWeekDay, showTime, fraction)
VisualSignalVSignal.ExternalBaseAuxUtilToDateString(DateTime, Boolean, Boolean, Boolean, Int32)
API version 1.2.2.0

[This is preliminary documentation and is subject to change.]

Convert System.DateTime object to formatted date-time string.
Declaration Syntax
C#Visual BasicVisual C++
public static string ToDateString(
	DateTime v,
	bool showDate,
	bool showWeekDay,
	bool showTime,
	int fraction
)
Public Shared Function ToDateString ( _
	v As DateTime, _
	showDate As Boolean, _
	showWeekDay As Boolean, _
	showTime As Boolean, _
	fraction As Integer _
) As String
public:
static String^ ToDateString(
	DateTime v, 
	bool showDate, 
	bool showWeekDay, 
	bool showTime, 
	int fraction
)
Parameters
v (DateTime)
Specifies the DateTime object.
showDate (Boolean)
Specifies true to include the date in the date-time string.
showWeekDay (Boolean)
Specifies true to include the weekday in the date-time string.
showTime (Boolean)
Specifies true to include the time in the date-time string.
fraction (Int32)
Specifies the number of decimal places for fraction of second display (max. 7).
Return Value
Returns the formatted date-time string.

Assembly: vsmExternalBase (Module: vsmExternalBase) Version: 1.2.2.0 (1.3.0.0)