ChartDirector 5.1 (.NET Edition)

Chart.chartTime2


Usage

[VB] Public Shared Function chartTime2(t As Integer) As Double
[C#] public static double chartTime2(int t);

Description

Converts a UNIX time (seconds elapsed since 01-01-1970 00:00:00 GMT) to the date/time format used by ChartDirector.

The UNIX time will be converted assuming based on local time zone (the time zone settings of the operating system).

Arguments

ArgumentDefaultDescription
t(Mandatory)A time represented as seconds elapsed since 01-01-1970 00:00:00 GMT.

Return Value

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