Building a Chart > Using a Time-Axis > Date Methods |
The DateToValue method converts an OLE Date value into a Time-axis position (a floating-point value). To convert a Time-axis position to a Date, use the ValueToDate method.
To convert a Date to a formatted text string, use the FormatDate method. For information on date format strings, see Annotating with TimeLabels.