GETXDATE

Purpose:

Returns the x-axis coordinate range of a Window as date values.

Syntax:

GETXDATE(win)

(xldate, xrdate) = GETXDATE(win)

win

-

Optional. Window reference. Defaults to the current Window.

Returns:

A string, the left hand date value of the displayed data.

 

(xldate, xrdate) = GETDATE(win) returns both the left and right date strings.

Example:

W1:gnorm(1000, 1);setdate("1-1-2030");sethunits("daily");

setxdate(W1, "7-20-2030", "8-24-2031");

(xldate, xrdate) = getxdate(W1);

 

xldate == "7/20/30"

xrdate == "8/24/31"

 

creates a 1000 point series with horizontal time units of Daily. The starting date is 1-1-2030. The X axis is set to display data between 7-20-2030 and 8-24-2031. The left and right date strings of the displayed data are returned.

Remarks:

The horizontal units of the series must be a date unit such as Daily, Monthly or Yearly.

 

See SETXDATE to set the x-axis coordinates in date values.

 

See GETXL and GETXR to return the x-axis coordinates in terms of the delta-x between values.

See Also:

GETXL

GETXR

GETXTIME

SETX

SETXDATE

SETXTIME