ChartDirector 7.1 (.NET Edition)

Chart.getChartYMD


Usage

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

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).