Macro commands may be used either in macros or by sending the commands to DPlot via dynamic data exchange (DDE). Some commands are valid only in macros (noted by Macros Only). Commands sent to DPlot via DDE must be enclosed by square brackets [ ]. Macro commands should not include the brackets.
Command parameters shown in the descriptions below are placeholders for the actual values. Command parameters are either numeric values or character strings; character string parameters are always bound by double quotation marks.
All indices into arrays are 1-based, e.g. Curve1=1 refers to the first curve in a plot.
A 0x prefix for numbers in the descriptions below indicates hexadecimal notation; e.g. 0x0010 = 16.
JR/Viewer indicates that the command is supported by DPlot Jr or DPlot Viewer.
JR/Viewer indicates that the command is NOT supported by DPlot Jr or DPlot Viewer.
[DateFormat("format")] |
|
The format string controls the appearance of numbers using the Calendar date or Date and time number formats. This is the same date format string that will appear in the Date Format box of the Number Formats dialog.
To display |
Use |
Numbers with no leading zeros for single-digit days, years, or months. |
Lowercase d or y, or uppercase M |
Numbers with leading zeros for single-digit days, years, or months. |
Lowercase dd or yy, or uppercase MM |
Three-letter abbreviations for the day of the week or month. |
Lowercase ddd or uppercase MMM |
The full name of the day of the week, year, or month |
Lowercase dddd or yyyy, or uppercase MMMM |
The day of the year (Jan 1=1, Dec 31=365 or 366) |
Lowercase n |
Page url: http://www.dplot.com/help/index.htm?dateformatcommand.htm