ChartDirector 7.1 (C++ Edition)

Chart.getChartYMD


Usage

static int getChartYMD(double t);

Description

Gets the year, month and day represented by a ChartDirector date/time.

Arguments

ArgumentDefaultDescription
t(Mandatory)A ChartDirector date/time, that is, a number representing seconds elapsed since 01-01-0001 00:00:00.

Return Value

An integer which when represented in decimal notation is yyyymmdd, where yyyy is the year, mm is the month (1 - 12), and dd is the day (1 - 31).