ChartDirector 7.1 (C++ Edition)

Chart.chartTime


Usage

static double chartTime(int y, int m, int d, int h = 0, int n = 0, int s = 0);

Description

Obtain the second elapsed since 01-01-0001 00:00:00 to the given time, which is the date/time format used by ChartDirector.

Arguments

ArgumentDefaultDescription
y(Mandatory)The year component of the given time.
m(Mandatory)The month component of the given time
d(Mandatory)The day of month component of the given time.
h0The hour component of the given time.
n0The minute component of the given time.
s0The second component of the given time.

Return Value

The second elapsed since 01-01-0001 00:00:00 to the given time.