Formats the specified time using an optimal string format based on the interval type.
Namespace:
T4.API.ChartDataAssembly: 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