ChartDirector 5.1 (.NET Edition)

Chart.chartTime


Usage

[VB] Public Shared Function chartTime(y As Integer, m As Integer, d As Integer [, h As Integer [, n As Integer [, s As Integer ]]]) As Double
[C#] public static double chartTime(int y, int m, int d [, int h [, int n [, int s ]]]);

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.