Formats the specified time using an optimal string format based on the interval type.

Namespace:  T4.API.ChartData
Assembly:  T4ChartDataAPI (in T4ChartDataAPI.dll)

Syntax

C#
public string FormatTime(
	DateTime time,
	BarInterval..::.IntervalFormatType fmttyp
)
Visual Basic (Declaration)
Public Function FormatTime ( _
	time As DateTime, _
	fmttyp As BarInterval..::.IntervalFormatType _
) As String
Visual C++
public:
String^ FormatTime(
	DateTime time, 
	BarInterval..::.IntervalFormatType fmttyp
)

Parameters

time
Type: System..::.DateTime
fmttyp
Type: T4.API.ChartData..::.BarInterval..::.IntervalFormatType

Return Value

See Also