GINO Graphics Suite - GINOGRAF v9.5  

ggConvertDates

Syntax

[C/C++:]
void ggConvertDates(int ndates, char *dates[ ], float data[ ]);
[F90:]
subroutine ggConvertDates(ndates, dates, data)

integer, intent(in) :: ndates
character*(*), intent(in) :: dates(*)
real, intent(out) :: data(*)

Arguments

ndates
Number of dates to be converted

dates
Character array of dimension ndates, holding the dates in the current date input format

data
Returned date values for dates

Description

Converts a character array of dates into an array of day numbers. These can then be used for plotting data in any of the graph display routines against an axis that has been set to have date scaling as set up by ggSetDateAxesScaling().

The dates are supplied as an array of character strings of up to 10 characters, formatted according to the current date input format type as set up by ggSetDateFormat(). Dates which are incorrectly formatted are returned as representing the date of January 1st 1900.

See Also

ggConvertDates Usage
ggSetDateFormat
ggSetDateAxesScaling