Object Reference > TimeScale Object > TimeScale Object Methods > FormatDate Method (TimeScale) |
FormatDate Method (TimeScale)
Formats a date using the specified format string.
Property Format As DerivedString (read-only)
Example
' Set time unit to seconds
Chart2D1.ChartArea.Axes("X").TimeScale.Unit = oc2dTimeSeconds
Part |
Type |
Description |
Date |
Date |
The date to be formatted. |
Format |
String |
The format string to use. |
See Also